Skip to content

Commit eb9348c

Browse files
committed
refactor: standardize file naming conventions for components
- Renamed UI component files to use PascalCase following React conventions - Fixed imports to reference the new PascalCase filenames - Renamed utility file from kebab-case to camelCase
1 parent beeac7f commit eb9348c

File tree

22 files changed

+30
-20
lines changed

22 files changed

+30
-20
lines changed
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as React from 'react';
2-
import { Slot } from './simple-slot';
2+
import { Slot } from './SimpleSlot';
33
import type { VariantProps } from 'class-variance-authority';
44

55
import { cn } from '@/lib/utils';
@@ -23,6 +23,7 @@ const Button = React.forwardRef<HTMLButtonElement, ButtonProps>(
2323
);
2424
}
2525
);
26+
2627
Button.displayName = 'Button';
2728

28-
export { Button };
29+
export { Button, buttonVariants };
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Button } from './button';
1+
import { Button } from './Button';
22
interface ConfirmationDialogProps {
33
isOpen: boolean;
44
onClose: () => void;
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ const Input = React.forwardRef<
1818
/>
1919
);
2020
});
21+
2122
Input.displayName = 'Input';
2223

23-
export { Input };
24+
export { Input };
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React, { useEffect } from 'react';
22
import { cn } from '@/lib/utils';
3-
import { SimpleDialogContext } from './simple-dialog-context';
3+
import { SimpleDialogContext } from './SimpleDialogContext';
44

55
interface SimpleDialogProps {
66
isOpen?: boolean;
File renamed without changes.

0 commit comments

Comments
 (0)