UNPKG

shineout

Version:

Shein 前端组件库

17 lines (16 loc) 735 B
/// <reference types="react" /> import { Component } from '../component'; import { CheckboxAllProps } from './Props'; export default class TableCheckboxAll<DataItem, Value> extends Component<CheckboxAllProps<DataItem, Value>> { handleUpdate: () => void; lastValueLength: number; constructor(props: CheckboxAllProps<DataItem, Value>); componentDidMount(): void; shouldComponentUpdate(nextProps: CheckboxAllProps<DataItem, Value>): boolean; componentWillUnmount(): void; getFilterData(): DataItem[]; getChecked(): boolean | "indeterminate" | undefined; check(d: DataItem): boolean | "indeterminate"; handleChange(_: any, checked: boolean, index: number): void; render(): JSX.Element | null; }