import {Button} from '@chakra-ui/react' import {ComponentMeta, Story} from '@storybook/react' import React from 'react' import Component from '.' export default { title: 'fields/SectionField/components/popovers/SectionAdd', component: Component } as ComponentMeta type ComponentProps = React.ComponentProps // Create a template for the component const Template: Story = args => export const Example: Story = Template.bind({}) Example.args = { children: , header:

Add Section

, sections: [ { name: 'BoxSection', displayName: 'Box Section' }, { name: 'CardSection', displayName: 'Card Section' } ], onSelect: () => {} }