UNPKG

@szum-tech/design-system

Version:

Szum-Tech design system with tailwindcss support

13 lines (10 loc) 647 B
import * as react_jsx_runtime from 'react/jsx-runtime'; import * as React from 'react'; import { Select as Select$1 } from 'radix-ui'; type SelectProps = React.ComponentProps<typeof Select$1.Root> & React.ComponentProps<typeof Select$1.Trigger> & { size?: "sm" | "default"; invalid?: boolean; placeholder?: React.ReactNode; }; declare function Select({ children, disabled, defaultOpen, defaultValue, value, dir, open, form, name, onOpenChange, onValueChange, required, autoComplete, placeholder, className, size, invalid, ...triggerProps }: SelectProps): react_jsx_runtime.JSX.Element; export { Select as S, type SelectProps as a };