feat: add toolbox contract shell and testkit
This commit is contained in:
15
packages/shell-react/README.md
Normal file
15
packages/shell-react/README.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# @add-ideas/toolbox-shell-react
|
||||
|
||||
```tsx
|
||||
import { AppShell } from "@add-ideas/toolbox-shell-react";
|
||||
import "@add-ideas/toolbox-shell-react/styles.css";
|
||||
|
||||
<AppShell app={manifest} appActions={<a href="/help">Help</a>}>
|
||||
<App />
|
||||
</AppShell>;
|
||||
```
|
||||
|
||||
`AppShell` discovers `?toolbox=...` or `<meta name="toolbox">`, but continues in
|
||||
standalone mode if context is absent, unavailable, cross-origin, or invalid. Its
|
||||
app switcher is exposed as the accessible navigation landmark
|
||||
`Toolbox applications` and all destinations use ordinary document navigation.
|
||||
Reference in New Issue
Block a user