@taureau/ui
v4.0.43
Published
UI components built with React
Downloads
8
Readme
taureau ui
Install
Make sure you've installed TailwindCSS and daisyUI.
Install the package with npm or yarn:
npm install @taureau/ui
or
yarn add @taureau/ui
To prevent TailwindCSS from purging your styles, add the following line to your tailwind.config.js:
module.exports = {
content: [
'node_modules/daisyui/dist/**/*.js',
'node_modules/@taureau/ui/dist/**/*.js',
],
plugins: [require('daisyui')],
}
⚡ Quick Start
Import components within your component files:
import { Button } from '@taureau/ui'
export default (props) => {
return <Button color="primary">Click me!</Button>
}