Skip to content

Commit

Permalink
Create story for multiple benefit input
Browse files Browse the repository at this point in the history
  • Loading branch information
WRadoslaw committed Aug 14, 2023
1 parent 3b1bd33 commit a40c197
Showing 1 changed file with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { Meta } from '@storybook/react'
import { useForm } from 'react-hook-form'

import { BenefitsInput } from '@/components/_inputs/BenefitsInput/BenefitsInput'

export default {
title: 'inputs/BenefitsInput',
component: BenefitsInput,
} as Meta

export const Default = () => {
const { control } = useForm()

return <BenefitsInput control={control} name="storybook" />
}

0 comments on commit a40c197

Please sign in to comment.