Skip to content

Commit

Permalink
adding instructions to the empty list
Browse files Browse the repository at this point in the history
  • Loading branch information
catdad committed Sep 8, 2023
1 parent 3723647 commit 66e5037
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions src/components/EmptyChordlist/EmptyChordlist.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,16 @@ const viewBox = {

export default function EmptyChordlist({ instrument = 'ukulele' } = {}) {
return (
<Icon
name={ instrument }
size={ 300 }
style={ { fill: 'var(--primary)', opacity: 'var(--icon-opacity)' } }
viewBox={ viewBox[instrument] }
/>
<div>
<div style="text-align: center; padding: 1em">
Type some short names to see their finger diagrams
</div>
<Icon
name={ instrument }
size={ 300 }
style={ { fill: 'var(--primary)', opacity: 'var(--icon-opacity)' } }
viewBox={ viewBox[instrument] }
/>
</div>
);
}

0 comments on commit 66e5037

Please sign in to comment.