import React from 'react'

import { ComponentStory, ComponentMeta } from '@storybook/react'

import { Widget } from '../components'

export default {
  title: 'Components/Widget',
  component: Widget,
} as ComponentMeta<typeof Widget>

const Template: ComponentStory<typeof Widget> = (args) => <Widget {...args} />

export const Element = Template.bind({})

Element.args = {
  title: 'Widget Title',
  icon: 'book',
  children:
    'Basic content that displays inside of the Widget. Enter your text here.',
}
