Catalogue element
bry-page-tree
A wiki space's pages nested under pages: open a row for its subpages (sent when asked), drag to reorder or nest, a "⋯" menu and "+" per row.
Settings
| Setting | Takes | Needed |
|---|---|---|
label | text, at most 200 characters | no |
items | a list of at most 2,000: a record of id, parent, label, emoji, hasChildren, muted (needs id, label) | no |
selected | text, at most 128 characters | no |
keep | text, at most 128 characters | no |
draggable | true or false | no |
actions | a list of at most 8: open, newChild, rename, duplicate, move, copyLink, export, delete | no |
addable | true or false | no |
settled | text, at most 128 characters | no |
loading | true or false | no |
empty | text, at most 200 characters | no |
Example
JSX
<bry-page-tree label={"Engineering"} keep={"space-eng"} selected={"p-rfc"} draggable={true} addable={true} actions={["newChild","rename","duplicate","move","copyLink","delete"]} items={[{"id":"p-handbook","label":"Handbook","emoji":"📘","hasChildren":true},{"id":"p-onboarding","parent":"p-handbook","label":"Onboarding"},{"id":"p-rfc","parent":"p-handbook","label":"RFC: one editor schema"},{"id":"p-runbooks","label":"Runbooks","hasChildren":true},{"id":"p-release","label":"Release notes"}]} />Renderer contact sheet
These paths will hold the checked light and dark captures.

