storyshare-sui-react-components
v0.24.0
Published
React components for StoryShare using Semantic UI
Downloads
73
Readme
storyshare-sui-react-components
Installation
nvm use
yarn install
Options
blockContent.formats
- mapping from a formattype
(e.g.a
,strong
) to a custom component that will render that format. Format components should take at leastchildren
andRichText
props, and should render<RichText content={ children } />
somewhere.
NPM scripts
build
- runs all build subtasks belowbuild:commonjs
- builds CommonJS modules for distributionbuild:es
- builds ES6 modules for distributionclean
- cleans up all built resourcesclean:coverage
- cleans up coverage reportsclean:dist
- cleans up compiled files for distributionclean:docs
- cleans up built documentationdocs
- builds API documentationlint
- lints all sourcestest
- executes tests (add--watch
to watch for changes)