tako-custom-components
Version:
install ```bash npm i tako-custom-components ```
42 lines (41 loc) • 760 B
JavaScript
import { MyLabel } from "../components/MyLabel";
const meta = {
title: 'UI/MyLabel',
component: MyLabel,
tags: ['autodocs'],
argTypes: {
size: {
control: "inline-radio",
},
fontColor: {
control: 'color',
}
},
parameters: {
layout: 'centered',
},
};
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: '#493'
}
};