import React from 'react';
import BoldTitle from '.';
import { ComponentStory, ComponentMeta } from '@storybook/react';

export default {
    title: 'Text/BoldTitle',
    component: BoldTitle,
    argTypes: {
        as: { control: 'select', options: ['h1', 'h2', 'h3', 'h4', 'h5'] }
    }
} as ComponentMeta<typeof BoldTitle>;

const Template: ComponentStory<typeof BoldTitle> = (props) => {
    return <BoldTitle {...props} />;
};

export const Default = Template.bind({});
Default.args = {
    as: 'h3',
    html: '<b>Dolore cillum</b><br>eu fugiat est fugiatore'
};
