Skip to main content

Variable: default

const default: FC<PropsWithChildren<MapplesAppProps>>

Defined in: MapplesApp.tsx:72

The main MapplesApp component that provides the core Mapples ecosystem functionality.

This component sets up the essential providers for styling, rendering, and asset management that are required for all Mapples applications. It handles font loading and provides a unified entry point for the Mapples ecosystem.

Component

Param

The component props

Returns

The configured Mapples app with all necessary providers

Examples

import MapplesApp from '@mapples/app';

function App() {
return (
<MapplesApp>
<YourAppContent />
</MapplesApp>
);
}
import MapplesApp from '@mapples/app';

function App() {
return (
<MapplesApp
showFontLoadingIndicator={true}
FontLoadingIndicator={<LoadingSpinner />}
>
<YourAppContent />
</MapplesApp>
);
}