antd-mobile
Version:
<div align="center">
16 lines (15 loc) • 550 B
TypeScript
import React, { FC, ReactNode } from 'react';
import { NativeProps } from '../../utils/native-props';
import { ListProps } from '../list';
export declare type CheckListProps = Pick<ListProps, 'mode' | 'style'> & {
defaultValue?: string[];
value?: string[];
onChange?: (val: string[]) => void;
multiple?: boolean;
activeIcon?: ReactNode;
extra?: (active: boolean) => ReactNode;
disabled?: boolean;
readOnly?: boolean;
children?: React.ReactNode;
} & NativeProps;
export declare const CheckList: FC<CheckListProps>;