infinity-forge
Version:
25 lines (24 loc) • 596 B
TypeScript
import { ReactNode } from 'react';
export interface IServices {
id: number;
url?: string;
titulo: string;
}
export interface ICategoriesHeader extends IServices {
links?: ICategoriesHeader[];
isNavigationInTheSamePage?: boolean;
}
export type TopConfigs = {
loginURL?: string;
registerURL?: string;
profileURL?: string;
orderdURL?: string;
topText?: string;
exitFunction?: () => void;
};
export interface IMenuMobileProps {
topChildren?: ReactNode;
bottomChildren?: ReactNode;
linksMenu: ICategoriesHeader[];
topConfigs?: TopConfigs;
}