@szum-tech/design-system
Version:
Szum-Tech design system with tailwindcss support
16 lines (12 loc) • 677 B
text/typescript
import * as react_jsx_runtime from 'react/jsx-runtime';
import * as React from 'react';
import { Select as Select$1 } from 'radix-ui';
type SelectProps = Select$1.SelectProps & {
ref?: React.ComponentProps<typeof Select$1.Trigger>["ref"];
placeholder?: React.ReactNode;
invalid?: boolean;
};
declare function Select({ children, placeholder, invalid, ref, ...props }: SelectProps): react_jsx_runtime.JSX.Element;
type SelectItemProps = React.ComponentProps<typeof Select$1.Item>;
declare function SelectItem({ children, className, ...props }: SelectItemProps): react_jsx_runtime.JSX.Element;
export { Select, SelectItem, type SelectItemProps, type SelectProps };