This is a small component library created by the FatCat development team using styled-components, the full component list can be seen here:
- Install node dependencies:
npm i fatcat-ui-library
and then add theme provider for our project
import { UIThemeProvider } from 'fatcat-ui-library/theme/theme';
<UIThemeProvider>
{children}
</UIThemeProvider>
To start using the components in your project, follow next steps:
import { Button } from 'fatcat-ui-library/components/Atoms/Button';
<Button
variant="some-variant"
>
Button
</Button>
Publishing is done by using the following command from the project root:
npm run publish
For versioning we followed the semver principle
-
MAJOR
-
MINOR
-
PATCH