UNPKG

@metamask/design-system-react-native

Version:
17 lines 994 B
import React from "react"; import type { PressableStateCallbackType } from "react-native/index.js"; export declare const Checkbox: React.ForwardRefExoticComponent<{ isSelected: boolean; isDisabled?: boolean | undefined; isInvalid?: boolean | undefined; label?: React.ReactNode; labelProps?: Omit<Partial<import("../index.mjs").TextProps>, "children"> | undefined; onChange: (isSelected: boolean) => void; checkboxContainerProps?: Omit<Partial<import("react-native").ViewProps>, "children"> | undefined; checkedIconProps?: Partial<import("../Icon/index.mjs").IconProps> | undefined; twClassName?: string | undefined; style?: import("react-native").StyleProp<import("react-native").ViewStyle> | ((state: PressableStateCallbackType) => import("react-native").StyleProp<import("react-native").ViewStyle>); } & Omit<import("react-native").PressableProps, "children"> & React.RefAttributes<{ toggle: () => void; }>>; //# sourceMappingURL=Checkbox.d.mts.map