od-custom-components
Version:
Instalar
38 lines (37 loc) • 695 B
JavaScript
import { MyLabel } from '../components/MyLabel';
const meta = {
title: 'MyLabel',
component: MyLabel,
tags: ['autodocs'],
parameters: {
layout: 'centered',
},
argTypes: {
size: { control: 'inline-radio' },
},
};
export default meta;
export const Basic = {
args: {
label: 'Basic label',
size: 'normal',
},
};
export const AllCaps = {
args: {
label: 'AllCaps',
allCaps: true,
},
};
export const Secondary = {
args: {
label: 'Secondary',
color: 'text-secondary',
},
};
export const CustomColors = {
args: {
label: 'CustomColors',
fontColor: '#5517ac',
},
};