UNPKG

@chakra-ui/react

Version:

Responsive and accessible React UI components built with React and Emotion

35 lines (34 loc) 2.57 kB
import type { Assign } from "@ark-ui/react"; import { Checkbox as ArkCheckbox } from "@ark-ui/react/checkbox"; import { type HTMLChakraProps, type SlotRecipeProps, type UnstyledProp } from "../../styled-system"; declare const useCheckboxStyles: () => Record<string, import("../..").SystemStyleObject>; export { useCheckboxStyles }; export interface CheckboxRootProviderBaseProps extends Assign<ArkCheckbox.RootProviderBaseProps, SlotRecipeProps<"checkbox">>, UnstyledProp { } export interface CheckboxRootProviderProps extends HTMLChakraProps<"div", CheckboxRootProviderBaseProps> { } export declare const CheckboxRootProvider: import("react").ForwardRefExoticComponent<CheckboxRootProviderProps & import("react").RefAttributes<HTMLDivElement>>; export interface CheckboxRootBaseProps extends Assign<ArkCheckbox.RootBaseProps, SlotRecipeProps<"checkbox">>, UnstyledProp { } export interface CheckboxRootProps extends HTMLChakraProps<"label", CheckboxRootBaseProps> { } export declare const CheckboxRoot: import("react").ForwardRefExoticComponent<CheckboxRootProps & import("react").RefAttributes<HTMLLabelElement>>; export declare const CheckboxPropsProvider: React.Provider<CheckboxRootBaseProps>; export interface CheckboxLabelProps extends HTMLChakraProps<"span", ArkCheckbox.LabelBaseProps>, UnstyledProp { } export declare const CheckboxLabel: import("react").ForwardRefExoticComponent<CheckboxLabelProps & import("react").RefAttributes<HTMLElement>>; export interface CheckboxIndicatorProps extends HTMLChakraProps<"svg"> { checked?: React.ReactElement | undefined; indeterminate?: React.ReactElement | undefined; } export declare const CheckboxIndicator: import("react").ForwardRefExoticComponent<CheckboxIndicatorProps & import("react").RefAttributes<SVGSVGElement>>; export interface CheckboxControlProps extends HTMLChakraProps<"div", ArkCheckbox.ControlBaseProps>, UnstyledProp { } export declare const CheckboxControl: import("react").ForwardRefExoticComponent<CheckboxControlProps & import("react").RefAttributes<HTMLElement>>; export interface CheckboxGroupProps extends HTMLChakraProps<"div", ArkCheckbox.GroupBaseProps> { } export declare const CheckboxGroup: React.FC<CheckboxGroupProps>; export declare const CheckboxContext: (props: ArkCheckbox.ContextProps) => import("react").ReactNode; export declare const CheckboxHiddenInput: import("react").ForwardRefExoticComponent<ArkCheckbox.HiddenInputProps & import("react").RefAttributes<HTMLInputElement>>; export interface CheckboxCheckedChangeDetails extends ArkCheckbox.CheckedChangeDetails { }