This is a UI component library created using React, TypeScript, Tailwind, Rollup, Storybook, and Jest.
You can install the library using npm:
npm install @itgold/grandbazar-ui-kit
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>
);
}