UNPKG

@awsui/components-react

Version:

AWS UI is a collection of [React](https://reactjs.org/) components that help create intuitive, responsive, and accessible user experiences for web applications. It is developed by Amazon Web Services (AWS). This work is available under the terms of the [A

18 lines (17 loc) 519 B
import { BaseCheckboxProps } from './base-checkbox'; import React from 'react'; import { NonCancelableEventHandler } from '../internal/events'; export interface CheckboxProps extends BaseCheckboxProps { children?: React.ReactNode; indeterminate?: boolean; onChange?: NonCancelableEventHandler<CheckboxProps.ChangeDetail>; } export declare namespace CheckboxProps { interface Ref { focus(): void; } interface ChangeDetail { checked: boolean; indeterminate: false; } }