Skip to content

Commit

Permalink
Merge pull request #79 from ed-software/fix-css-imports
Browse files Browse the repository at this point in the history
fix: 🐛 css imports
  • Loading branch information
ed-software committed Nov 20, 2023
2 parents 82614f0 + c8b736f commit 767e451
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

1 comment on commit 767e451

@vercel
Copy link

@vercel vercel bot commented on 767e451 Nov 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.