gm-custom-components
Version:
46 lines (45 loc) • 941 B
JavaScript
import { MyLabel } from "../components/MyLabel";
// Información que vamos a tener sobre la página
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: '#5517ac'
}
};
export const CustomBackgrounColor = {
args: {
label: 'Custom Color Label',
fontColor: '#eeeeee',
backgroundColor: '@000000'
}
};