diff --git a/src/shared/index.ts b/src/shared/index.ts index 7a5bd97..ea5eac2 100644 --- a/src/shared/index.ts +++ b/src/shared/index.ts @@ -11,7 +11,7 @@ export { FileUpload } from './ui/FileUpload/FileUpload'; export { Flex } from './ui/Flex'; export { Icon } from './ui/Icon'; export { IconButton } from './ui/IconButton'; -export { Input } from './ui/Input/Input'; +export { Input } from './ui/Input'; export { ImageGallery } from './ui/ImageGallery'; export { Modal } from './ui/Modal'; export { MediaUpload } from './ui/MediaUpload'; diff --git a/src/shared/ui/Select/SelectButton.tsx b/src/shared/ui/Select/SelectButton.tsx index 18b6b23..9a41069 100644 --- a/src/shared/ui/Select/SelectButton.tsx +++ b/src/shared/ui/Select/SelectButton.tsx @@ -21,32 +21,46 @@ type Props = { * The size of the button. */ size?: 'md' | 'lg'; + /** + * Custom class name for styling. + */ + className?: string; }; const sizeVariants = { - md: 'px-3 py-1 text-sm min-w-24', - lg: 'px-4 py-3.5 min-w-64 text-lg', + md: 'px-3 py-1 text-sm min-w-24 rounded-lg', + lg: 'px-4 py-3.5 min-w-64 min-h-[52px] rounded-xl', } as const; -export function SelectButton({ selected, onClick, isOpen, size = 'lg' }: Props) { +export function SelectButton({ + selected, + onClick, + isOpen, + size = 'lg', + className, + ...props +}: Props) { return (