@itgold/grandbazar-ui-kit
v1.0.43
Published
Grandbazar.io UI component library: React, Typescript, Tailwind, Rollup, Storybook, Jest.
Downloads
142
Readme
Grandbazar.io UI Library
This is a UI component library created using React, TypeScript, Tailwind, Rollup, Storybook, and Jest.
Installation
You can install the library using npm:
npm install @itgold/grandbazar-ui-kit
Usage
To use the library, import the components you need from the library and use them in your React components.
import { Rule } from '@itgold/grandbazar-ui-kit';
import SomeIcon from '@/icons/some-icon.svg';
export default function Test() {
return (
<Rule text="Some text" color="bg-emerald-100" onClick={() => alert('hey!')}>
<SomeIcon />
</Rule>
);
}