@tazalov/kebab-ui
v1.2.0
Published
## Description A library of UI components for working on your React application.
Downloads
17
Readme
Kebab UI-kit
Description
A library of UI components for working on your React application.
Getting Started
- Install libary:
npm i @tazalov/kebab-ui
yarn add @tazalov/kebab-ui
pnpm i @tazalov/kebab-ui
- Add the import of styles from the library to your main project file (
main.tsx, index.tsx, ...
), where you import your own set of styles (after them):
/* your import styles */
import '@tazalov/kebab-ui/dist/style.css'
- Use it! Example of using the
Button
component:
import { useState } from 'react'
import { Button } from '@tazalov/kebab-ui/components'
export const App = () => {
const [count, setCount] = useState(0)
return (
<Button onClick={() => setCount((count) => count + 1)} variant='primary'>
count is {count}
</Button>
)
}