@ozen-ui/kit
Version:
React component library
4 lines (3 loc) • 321 B
TypeScript
import type { SyntheticEvent } from 'react';
import type { DataListBaseSingleValue, DataListBaseValue } from '../value';
export type DataListBaseOnChange<Multiple extends boolean> = (event: SyntheticEvent | KeyboardEvent | null, value: DataListBaseValue<Multiple>, changedOption: DataListBaseSingleValue | null) => void;