UNPKG

infinity-forge

Version:
33 lines (32 loc) 807 B
import React from 'react'; import { ModalProps } from '../../../ui/index.js'; import { WorkSpace } from '../data/select-workspace/interfaces.js'; export interface ILayout<S = any> { workspaces?: WorkSpace; children: React.ReactNode; logo?: { src?: string; href?: string; }; search?: { active?: boolean; }; searchModal?: { items?: S[]; modal?: Partial<ModalProps>; configurations?: { Component?: (props: S & { filteredList?: S[]; }) => React.ReactNode; }; }; profile?: { firstName?: string; buttonText?: string; menus?: { title: string; onClick: () => void; }[]; }; ComponentMenuRight?: () => React.ReactNode; }