Skip to content

Commit 26d23cd

Browse files
refactor(radio-group): move component and story file from tailwind folder
1 parent ec0dba1 commit 26d23cd

File tree

3 files changed

+4
-64
lines changed

3 files changed

+4
-64
lines changed

src/components/BaseStories/Radio.stories.tsx

Lines changed: 0 additions & 60 deletions
This file was deleted.

tailwind/ui/__stories__/RadioGroup.stories.tsx renamed to src/components/ui/__stories__/RadioGroup.stories.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import type { Meta, StoryObj } from "@storybook/react/*"
22

3-
import { HStack } from "../../../src/components/ui/flex"
3+
import { HStack } from "../flex"
44
import {
55
RadioGroup,
66
RadioGroupItem,
77
type RadioGroupItemProps,
8-
} from "../RadioGroup"
8+
} from "../radio-group"
99

1010
const meta = {
11-
title: "Atoms / Form / ShadCN Radio",
11+
title: "Atoms / Form / Radio",
1212
component: RadioGroup,
1313
} satisfies Meta<typeof RadioGroup>
1414

tailwind/ui/RadioGroup.tsx renamed to src/components/ui/radio-group.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import * as RadioGroupPrimitive from "@radix-ui/react-radio-group"
44

55
import { cn } from "@/lib/utils/cn"
66

7-
import { commonControlClasses } from "../../src/components/ui/checkbox"
7+
import { commonControlClasses } from "./checkbox"
88

99
const RadioGroup = React.forwardRef<
1010
React.ElementRef<typeof RadioGroupPrimitive.Root>,

0 commit comments

Comments
 (0)