geoiq-frontend-ui-kit
Version:
This project is a UI kit for GeoIQ's frontend. It's built with React, TypeScript, and Vite.
15 lines • 529 B
TypeScript
import * as SelectPrimitive from '@radix-ui/react-select';
export interface SelectProps extends React.ComponentPropsWithoutRef<typeof SelectPrimitive.Root> {
items: {
label: string;
value: string;
disabled?: boolean;
icon?: React.ReactElement;
}[];
placeholder?: string;
onValueChange: (value: string) => void;
value: string;
triggerProps?: React.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger>;
id?: string;
}
//# sourceMappingURL=single-select.types.d.ts.map