UNPKG

@szum-tech/design-system

Version:

Szum-Tech design system with tailwindcss support

29 lines (21 loc) 1.78 kB
import * as react_jsx_runtime from 'react/jsx-runtime'; import * as React from 'react'; import React__default 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; type SelectContentProps = React.ComponentProps<typeof Select$1.Content>; declare function SelectContent({ className, children, position, align, ...props }: SelectContentProps): react_jsx_runtime.JSX.Element; type SelectGroupProps = React.ComponentProps<typeof Select$1.Group>; declare function SelectGroup(props: SelectGroupProps): react_jsx_runtime.JSX.Element; type SelectItemProps = React.ComponentProps<typeof Select$1.Item>; declare function SelectItem({ className, children, ...props }: SelectItemProps): react_jsx_runtime.JSX.Element; type SelectLabelProps = React.ComponentProps<typeof Select$1.Label>; declare function SelectLabel({ className, ...props }: SelectLabelProps): react_jsx_runtime.JSX.Element; type SelectSeparatorProps = React__default.ComponentProps<typeof Select$1.Separator>; declare function SelectSeparator({ className, ...props }: SelectSeparatorProps): react_jsx_runtime.JSX.Element; export { Select, SelectContent, type SelectContentProps, SelectGroup, type SelectGroupProps, SelectItem, type SelectItemProps, SelectLabel, type SelectLabelProps, type SelectProps, SelectSeparator, type SelectSeparatorProps };