UNPKG

@etsoo/materialui

Version:

TypeScript Material-UI Implementation

22 lines (21 loc) 609 B
import { ListType1 } from "@etsoo/shared"; import { OptionGroupProps } from "./OptionGroup"; /** * OptionBool props */ export type OptionBoolProps = Omit<OptionGroupProps<ListType1, "id", "label">, "options" | "row" | "multiple" | "defaultValue" | "onValueChange"> & { /** * Default value */ defaultValue?: boolean; /** * On value change handler */ onValueChange?: (value?: boolean) => void; }; /** * OptionBool (yes/no) * @param props Props * @returns Component */ export declare function OptionBool(props: OptionBoolProps): import("react/jsx-runtime").JSX.Element;