@scientist-softserv/webstore-component-library
Version:
A React component library intended for use with WebStore applications
27 lines (22 loc) • 499 B
JSX
import React from 'react'
import Title from './Title'
export default {
title: 'Components/Title',
component: Title,
}
const Template = (args) => <Title {...args} />
export const Default = Template.bind({})
Default.args = {
alignment: 'left',
title: 'This is my title.',
size: 'large',
}
export const Alternate = Template.bind({})
Alternate.args = {
alignment: 'left',
title: 'This is a title with a custom style property.',
size: 'large',
style: {
color: '#AB8290',
},
}