UNPKG

@stratakit/react

Version:

A React component library for StrataKit

18 lines (17 loc) 839 B
import * as React from "react"; import type { Checkbox as IuiCheckbox } from "@itwin/itwinui-react"; import type { PolymorphicForwardRefComponent } from "./~utils.js"; type IuiCheckboxProps = React.ComponentProps<typeof IuiCheckbox>; interface CheckboxProps extends Pick<IuiCheckboxProps, "label" | "indeterminate" | "status" | "variant" | "isLoading" | "wrapperProps" | "labelProps"> { /** NOT IMPLEMENTED. */ indeterminate?: IuiCheckboxProps["indeterminate"]; /** NOT IMPLEMENTED. */ status?: IuiCheckboxProps["status"]; /** NOT IMPLEMENTED. */ variant?: IuiCheckboxProps["variant"]; /** NOT IMPLEMENTED. */ isLoading?: IuiCheckboxProps["isLoading"]; } /** @see https://itwinui.bentley.com/docs/checkbox */ export declare const Checkbox: PolymorphicForwardRefComponent<"input", CheckboxProps>; export {};