Skip to content

Commit

Permalink
fix: 🐛 css imports
Browse files Browse the repository at this point in the history
  • Loading branch information
ed-software committed Nov 20, 2023
1 parent 82614f0 commit c8b736f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Install with npm

```TSX
import { MaterialSymbol } from 'react-material-symbols';
import 'react-material-symbols/dist/rounded.css'; // Place in your root app file. There are also `sharp.css` and `outlined.css` variants.
import 'react-material-symbols/rounded'; // Place in your root app file. There are also `sharp` and `outlined` variants.

export default function App() {
return (
Expand All @@ -46,7 +46,7 @@ export default function App() {

## Demo

https://react-material-symbols.vercel.app/?path=/docs/outlined--example
<https://react-material-symbols.vercel.app/>

## License

Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@
"import": "./dist/index.es.js",
"require": "./dist/index.umd.js",
"types": "./dist/index.d.ts"
}
},
"./sharp": "./dist/sharp.css",
"./rounded": "./dist/rounded.css",
"./outlined": "./dist/outlined.css"
},
"files": [
"dist/**/*"
Expand Down

0 comments on commit c8b736f

Please sign in to comment.