1.0.3 • Published 9 months ago

ipfs-react v1.0.3

Weekly downloads
-
License
-
Repository
-
Last release
9 months ago

React IPFS

Main Scripts

Always prepending pnpm:

  • dev: Bootstrap the Storybook preview with Hot Reload.
  • build: Builds the static storybook project.
  • build:lib: Builds the component library into the dist folder.
  • lint:fix: Applies linting based on the rules defined in .eslintrc.js.
  • format:prettier: Formats files using the prettier rules defined in .prettierrc.
  • test: Runs testing using watch mode.
  • test:cov: Runs testing displaying a coverage report.

Using this library

Install the library running pnpm i ipfs-react.

To import the styles the library needs:

/* _app.tsx */
import 'ipfs-react/dist/style.css'
// More imports and your App component ...

To import library components:

/* pages/index.tsx */
import { VideoIPFS } from 'ipfs-react'
import { ImageIPFS } from 'ipfs-react'
// More imports and your Page component...

License

MIT

1.0.3

9 months ago

1.0.0

9 months ago

2.0.2

9 months ago

2.0.1

9 months ago