UNPKG

1.3 kBTypeScriptView Raw
1import { type HTMLChakraProps, type SlotRecipeProps, type UnstyledProp } from "../../styled-system";
2interface BaseProps {
3 disabled?: boolean;
4 invalid?: boolean;
5}
6declare const useNativeSelectStyles: () => Record<string, import("../..").SystemStyleObject>;
7export { useNativeSelectStyles };
8export interface NativeSelectRootBaseProps extends SlotRecipeProps<"nativeSelect">, UnstyledProp, BaseProps {
9}
10export interface NativeSelectRootProps extends HTMLChakraProps<"div", NativeSelectRootBaseProps> {
11}
12export declare const NativeSelectRoot: import("react").ForwardRefExoticComponent<NativeSelectRootProps & import("react").RefAttributes<HTMLDivElement>>;
13export declare const NativeSelectPropsProvider: React.Provider<NativeSelectRootBaseProps>;
14type Omitted = "disabled" | "required" | "readOnly" | "size";
15export interface NativeSelectFieldProps extends Omit<HTMLChakraProps<"select">, Omitted> {
16 placeholder?: string;
17}
18export declare const NativeSelectField: import("react").ForwardRefExoticComponent<NativeSelectFieldProps & import("react").RefAttributes<HTMLSelectElement>>;
19export interface NativeSelectIndicatorProps extends HTMLChakraProps<"div"> {
20}
21export declare function NativeSelectIndicator(props: NativeSelectIndicatorProps): import("react/jsx-runtime").JSX.Element;