@itgold/grandbazar-ui-kit
Version:
Grandbazar.io UI component library: React, Typescript, Tailwind, Rollup, Storybook, Jest.
12 lines (10 loc) • 371 B
text/typescript
import { TSelectOption } from '@/components/inputs/types/TSelectOption';
import { TSelectSizes } from '@/components/inputs/types/TSelectSizes';
export type TSelectProps = {
size: TSelectSizes;
theme?: 'dark' | 'light';
options: TSelectOption[];
defaultValue: TSelectOption;
onSelect: (value: TSelectOption) => void;
customSelectedValue?: React.ReactNode;
};