Type alias UnionMenuItem<T, U>

UnionMenuItem<T, U>: T extends AdvMenuItemKeys
    ? {
        label: string;
        props: AdvMenuItemMap<U>[T];
        type: T;
    }
    : never

Type Parameters

Generated using TypeDoc