mfss-custom-components
Version:
Instalar
45 lines (44 loc) • 887 B
JavaScript
import { MyLabel } from "../components/MyLabel";
const meta = {
title: 'UI/labels/MyLabel',
component: MyLabel,
tags: ['autodocs'],
parameters: {
layout: 'centered'
},
argTypes: {
size: { control: 'inline-radio' },
fontColor: { control: 'color' }
}
};
export default meta;
export const Basic = {
args: {
label: 'Basic label'
}
};
export const AllCaps = {
args: {
label: 'All Caps label',
allCaps: true
}
};
export const Secondary = {
args: {
label: 'Secondary label',
color: 'text-secondary'
}
};
export const CustomColor = {
args: {
label: 'Custom Color label',
fontColor: '#ba22a6'
}
};
export const CustomBackgtoundColor = {
args: {
label: 'Custom Color label',
fontColor: 'white',
backgroundColor: 'black'
}
};