Skip to main content
ESC

RobinProvider

RobinProvider is the general provider for Robindoc documentation. It contains all the necessary contexts, settings, scripts, etc. The application must be wrapped in this provider!

TypeScript
JavaScript
import { RobinProvider } from "robindoc";

const Layout: React.FC<React.PropsWithChildren> = ({ children }) => (
<RobinProvider>{/* ... */}</RobinProvider>;
);

export default Layout;
import { RobinProvider } from "robindoc";

const Layout = ({ children }) => (
<RobinProvider>{/* ... */}</RobinProvider>;
);

export default Layout;

Usage 

For more details on using RobinProvider, refer to the section App organization.

Previous
Page
Next
Sidebar
Return to navigation