> A tool to create demos for your ReasonReact components
npm install @qwick/reshowcase> A tool to create demos for your ReasonReact components
``reason
/ path/to/Demo.re /
open Reshowcase.Entry;
demo("Title", ({add}) => {
add("normal", ({string}) =>
demo("Button", ({add}) =>
add("normal", ({string, bool}) =>
)
);
start();
`
`console`
yarn add --dev reshowcase
Then add to your "reshowcase" to bs-dependencies in your bsconfig.json.
> If you're still using JSX 2, install reshowcase@1.4.0.
`console`
$ reshowcase path/to/Demo.bs.js
If you need custom webpack options, create the .reshowcase/config.js and export the webpack config, plugins and modules will be merged.
If you need a custom template, pass --template=./path/to/template.html`.