Skip to content

Commit

Permalink
Fix readme formatting again
Browse files Browse the repository at this point in the history
  • Loading branch information
csandman committed Oct 1, 2021
1 parent 88266e6 commit b53f6ee
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,12 @@ In order to use this component, you can implement it and use it like you would n

```js
return (
<Select size="sm" />
<Select size="md" /> {/* Default */}
<Select size="lg" />
)
<>
<Select size="sm" />
<Select size="md" /> {/* Default */}
<Select size="lg" />
</>
);
```

- You can pass the `colorScheme` prop to the select component to change all of the selected options tags' colors. You can view the whole list of available color schemes in [the Chakra docs](https://chakra-ui.com/docs/data-display/tag#props), or if you have a custom color palette, any of the custom color names in that will be available instead.
Expand Down

0 comments on commit b53f6ee

Please sign in to comment.