apphouse
Version:
Component library for React that uses observable state management and theme-able components.
28 lines (27 loc) • 1.35 kB
TypeScript
import React from 'react';
import { ApphouseTheme } from '../styles/defaults/themes.interface';
import { IApphouseProvider, IApphouseThemeProvider, IStoreWithBase } from './context.interface';
/**
* Apphouse Provider, an app wrapper that not only offers a
* seamless store experience for apps but also facilitates advanced
* functionalities such as efficient routing, effortless feedback handling,
* streamlined form management, convenient shortcuts, and much more.
*/
export declare function ApphouseProvider<T>({ children, store }: IApphouseProvider<T>): import("react/jsx-runtime").JSX.Element;
/**
* Apphouse Theme Provider
* It decorates the app with the theme and applies the theme to the body
*/
export declare function ApphouseThemeProvider<T>({ theme, mode, children }: IApphouseThemeProvider): import("react/jsx-runtime").JSX.Element;
/**
* Apphouse App, the ultimate app wrapper that serves
* as an indispensable storefront for your app. Seamlessly
* integrating with your app, it empowers you with a range of
* powerful features, including efficient routing, seamless feedback
* handling, intuitive form management, convenient shortcuts, and a
* plethora of other cutting-edge functionalities.
*/
export declare const ApphouseApp: React.FC<{
store: IStoreWithBase<any>;
theme?: 'light' | 'dark' | ApphouseTheme;
}>;