Skip to content

Commit c4b8d0b

Browse files
author
Simon Planinschek
committed
update readme
1 parent 8d366d8 commit c4b8d0b

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

readme.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,21 @@ import IconCached from '@aboutbits/react-material-icons/dist/IconCached'
2929

3030
const MyCommponent = () => {
3131
return (
32-
<IconCached />
33-
);
32+
<IconCached/>
33+
);
3434
}
3535
```
3636

3737
SVG related parameters like height and width can be passed as props.
3838

39+
To import the different variants of an icon you can add the variants as a postfix:
40+
41+
- `Icon10k` > Default filled
42+
- `Icon10kOutlined` > Outlined
43+
- `Icon10kRound` > Rounded
44+
- `Icon10kSharp` > Sharp
45+
- `Icon10kTwoTone` > Tow tone
46+
3947
## Generate Components
4048

4149
To generate the components, simply run the following command:

0 commit comments

Comments
 (0)