@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
16 lines (15 loc) • 586 B
TypeScript
import React from 'react';
import { BaseComponentProps } from '../internal/base-component';
import { NonCancelableEventHandler } from '../internal/events';
import { FormFieldControlProps } from '../internal/context/form-field-context';
export interface BaseCheckboxProps extends BaseComponentProps, FormFieldControlProps {
checked: boolean;
name?: string;
disabled?: boolean;
controlId?: string;
ariaLabel?: string;
onFocus?: NonCancelableEventHandler;
onBlur?: NonCancelableEventHandler;
children?: React.ReactNode;
description?: React.ReactNode;
}