UNPKG

antd-mobile-alita

Version:

基于 React 的移动设计规范实现

18 lines (17 loc) 435 B
/// <reference types="react" /> export interface OnChangeParams { target: { checked: boolean; }; } export interface CheckboxPropsType { defaultChecked?: boolean; checked?: boolean; disabled?: boolean; onChange?: (params: OnChangeParams) => void; } export interface CheckboxItemPropsType extends CheckboxPropsType { extra?: React.ReactNode; prefixCls?: string; onClick?: (e?: any) => void; }