DisclosableRoot

The <DisclosableRoot /> component represents the mount point of all your disclosables elements. It should be registered once, ideally at the root of your application.

Usage

App.tsx
1import { DisclosableRoot } from 'use-disclosable';
2
3function App() {
4  return (
5    <>
6        <YourApp />
7        <DisclosableRoot />
8    </>
9  );
10}
ON THIS PAGE