@cfxjs/react-ui
Version:
Modern and minimalist React UI library.
10 lines (9 loc) • 388 B
TypeScript
import React from 'react';
interface DefaultExpandIconProps<RecordType> {
onExpand: (record: RecordType, e: React.MouseEvent<HTMLElement>) => void;
record: RecordType;
expanded: boolean;
expandable: boolean;
}
declare function ExpandIcon<RecordType>({ onExpand, record, expanded, expandable, }: DefaultExpandIconProps<RecordType>): JSX.Element;
export default ExpandIcon;