All files / app/src/entities/accounting-object/ui/operations-form-layout operations-form-layout.stories.tsx

66.66% Statements 12/18
100% Branches 0/0
0% Functions 0/1
66.66% Lines 12/18

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 251x       1x 1x 1x 1x 1x 1x 1x 1x   1x                 1x 1x  
import { Form, Input } from '@tmk/ui-kit'
import { OperationsFormLayout, OperationsFormLayoutProps } from './operations-form-layout'
import { Story, Meta } from '@storybook/react'
 
export default {
  title: 'Entities/AccountingObject/OperationsFormLayout',
  component: OperationsFormLayout,
  args: {
    title: 'Title',
    subtitle: 'TestSubtitle',
  },
} as Meta
 
const Template: Story<OperationsFormLayoutProps> = args => (
  <Form>
    <OperationsFormLayout {...args}>
      <Input name='test' />
      <Input name='test' />
    </OperationsFormLayout>
  </Form>
)
 
export const Default = Template.bind({})
Default.args = {}