import { action } from 'storybook/actions'; import React from 'react'; import { Form, FormGroup, FormSection, Icon, Stack } from '../../src/lib'; import { Button, Props as ButtonProps, } from '../../src/lib/components/buttonv2/Buttonv2.component'; import { Input } from '../../src/lib/next'; import { iconArgType } from '../controls'; export default { title: 'Components/Button', component: Button, args: { label: 'Button', onClick: action('Button clicked'), }, render: ({ icon, ...args }: { icon?: string } & ButtonProps) => { return