UNPKG

jco-custom-components

Version:

Instalar

46 lines (45 loc) 916 B
import { MyLabel } from '../components/MyLabel'; const meta = { title: 'UI/MyLabel', component: MyLabel, tags: ['autodocs'], parameters: { layout: 'centered' }, argTypes: { size: { control: 'inline-radio' }, fontColor: { control: 'color' }, color: { control: 'radio' } } }; export default meta; export const Basic = { args: { label: 'Basic label' } }; export const AllCaps = { args: { label: 'All caps', allCaps: true, } }; export const Secondary = { args: { label: 'Secondary Label', color: 'text-secondary' } }; export const CustomColor = { args: { label: 'Custom Color Label', fontColor: '#5517AC' } }; export const CustomBackgroundColor = { args: { label: 'Custom Background Color', fontColor: '#FFF', backgroundColor: 'black' } };