Skip to content

Commit a790cdc

Browse files
authored
Merge pull request #86 from lambda-curry/codegen/lc-241-create-controlledselect-storybook-stories
2 parents a00c074 + eb24bde commit a790cdc

2 files changed

Lines changed: 478 additions & 3 deletions

File tree

apps/docs/src/medusa-forms/ControlledCheckbox.stories.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ControlledCheckbox } from '@lambdacurry/medusa-forms/controlled';
1+
import { ControlledCheckbox } from '@lambdacurry/medusa-forms/controlled/ControlledCheckbox';
22
import type { Meta, StoryObj } from '@storybook/react-vite';
33
import React from 'react';
44
import { FormProvider, useForm } from 'react-hook-form';
@@ -306,7 +306,7 @@ export const MultipleCheckboxes: Story = {
306306
};
307307

308308
// Form Integration Example Story
309-
const CompleteFormExample = () => {
309+
const CompleteFormExampleComponent = () => {
310310
const form = useForm({
311311
defaultValues: {
312312
username: '',
@@ -392,5 +392,5 @@ const CompleteFormExample = () => {
392392
};
393393

394394
export const CompleteFormExample: Story = {
395-
render: () => <CompleteFormExample />,
395+
render: () => <CompleteFormExampleComponent />,
396396
};

0 commit comments

Comments
 (0)