commit
d7ba171cb3
|
@ -43,7 +43,7 @@ export type GroupItemProps =
|
|||
groups: Array<
|
||||
Omit<CollapseGroupProps, 'items'> & {
|
||||
items: Array<
|
||||
Omit<CollapseItemProps, 'engine'> | 'string'
|
||||
Omit<CollapseItemProps, 'engine'> | string
|
||||
>;
|
||||
}
|
||||
>;
|
||||
|
|
|
@ -5,7 +5,7 @@ import CollapseItem, { CollapseItemProps } from './item';
|
|||
export type CollapseGroupProps = {
|
||||
engine?: EngineInterface;
|
||||
title?: React.ReactNode;
|
||||
items: Array<Omit<CollapseItemProps, 'engine'>>;
|
||||
items: Array<Omit<CollapseItemProps, 'engine'> | string>;
|
||||
onSelect?: (event: React.MouseEvent, name: string) => void | boolean;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue