@richardx/components
v0.4.3
Published
This is my personal components library I use built on DaisyUI with react components. Feel free to use or contribute to it!
Downloads
18
Readme
Richard X Component Library
This is my personal components library I use built on DaisyUI with react components. Feel free to use or contribute to it!
If you use tailwind (tailwind.config.js):
const colors = require('tailwindcss/colors');
module.exports = {
content: ['./node_modules/@richardx/components/dist/**/*.js'],
theme: {
extend: {
colors: {
THEME: colors.YOUR_COLOR,
},
},
},
plugins: [require('daisyui')],
};
Global style:
import '@richardx/components/dist/styles.css';
If you don't:
// app.tsx
import '@richardx/components/dist/tailwind.css';