packages/uikit-playground/src/Components/DropDown/types.ts
import type { LayoutBlock } from '@rocket.chat/ui-kit';
export type ItemProps = {
label: string;
layer: number;
payload?: readonly LayoutBlock[];
children?: ReadonlyArray<JSX.Element>;
};
export type ItemBranch = {
label: string;
branches?: Item;
payload?: readonly LayoutBlock[];
};
export type Item = ItemBranch[];