@kakadu/components
v0.1.4
Published
Kakadu components library
Maintainers
Readme
Kakadu Components
Installation
Install the package via npm:
npm install @kakadu/componentsNext, import the base stylesheet in your application’s entry point (for example _app.jsx):
import '@kakadu/components/components.css';Finally, wrap your application with the theme. You can start using components right away:
import theme from '@kakadu/components/theme';
import Box from '@kakadu/components/box';
export default function Wrapper({children}) {
return (
<div className={theme}>
<Box>Hello!</Box>
{children}
</div>
);
}Development
Storybook
To run Storybook locally:
npm run storybookOnce started, open http://localhost:6006 in your browser.
Publishing and release
- Commit your changes.
- Depending on the changeset, run
npm version major|minor|patch. - Run
npm publish.
