Skip to content

Commit

Permalink
fix: styles need to be imported by consumers
Browse files Browse the repository at this point in the history
  • Loading branch information
SgtPooki committed Oct 17, 2024
1 parent 7ffbcca commit 8c2048a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ And, assuming you are using `create-react-app` or a similar webpack set up, you'
```js
import 'tachyons'
import 'ipfs-css'
import 'ipld-explorer-components/css'
```
### Customizing the links displayed in the StartExploringPage
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@
"./forms": {
"import": "./dist/forms.js",
"types": "./dist/src/forms.d.ts"
},
"./css": {
"import": "./dist/style.css"
}
},
"type": "module",
Expand Down

0 comments on commit 8c2048a

Please sign in to comment.