@devfamily/admiral
Version:
Admiral is a frontend framework for creating back office using React. It provides out-of-the-box components and tools that make developing an admin interface easy and fast.
16 lines (15 loc) • 540 B
TypeScript
import { LogoType, OAuthProvidersEnum } from '../../admiral';
import React, { ReactNode } from 'react';
declare type ConfigContextValue = {
logo?: LogoType;
loginLogo?: LogoType;
asideContent?: React.ReactNode;
oauthProviders?: OAuthProvidersEnum[];
menuPopupExtraComponents?: ReactNode;
};
export declare const ConfigContext: React.Context<ConfigContextValue>;
export declare const ConfigContextProvider: React.FC<{
value: ConfigContextValue;
}>;
export declare function useConfig(): ConfigContextValue;
export {};