Skip to content

Commit

Permalink
Fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mj12albert committed Nov 21, 2024
1 parent 28adc8a commit 798e9a4
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
7 changes: 6 additions & 1 deletion docs/reference/generated/accordion-panel.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@
"hiddenUntilFound": {
"type": "boolean",
"default": "false",
"description": "If `true`, sets `hidden=\"until-found\"` when closed.\nIf `false`, sets `hidden` when closed."
"description": "If `true`, sets `hidden=\"until-found\"` when closed. Accordion panels\nwill remain mounted in the DOM when closed and overrides `keepMounted`.\nIf `false`, sets `hidden` when closed."
},
"keepMounted": {
"type": "boolean",
"default": "false",
"description": "If `true`, accordion panels remains mounted when closed and is instead\nhidden using the `hidden` attribute.\nIf `false`, accordion panels are unmounted when closed."
},
"render": {
"type": "React.ReactElement | (props, state) => React.ReactElement",
Expand Down
10 changes: 10 additions & 0 deletions docs/reference/generated/accordion-root.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,16 @@
"default": "false",
"description": "If `true`, the component is disabled."
},
"hiddenUntilFound": {
"type": "boolean",
"default": "false",
"description": "If `true`, sets `hidden=\"until-found\"` when closed. Accordion panels\nwill remain mounted in the DOM when closed and overrides `keepMounted`.\nIf `false`, sets `hidden` when closed."
},
"keepMounted": {
"type": "boolean",
"default": "false",
"description": "If `true`, accordion panels remains mounted when closed and is instead\nhidden using the `hidden` attribute.\nIf `false`, accordion panels are unmounted when closed."
},
"loop": {
"type": "boolean",
"default": "true",
Expand Down
7 changes: 6 additions & 1 deletion docs/reference/generated/collapsible-panel.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@
"hiddenUntilFound": {
"type": "boolean",
"default": "false",
"description": "If `true`, sets `hidden=\"until-found\"` when closed.\nIf `false`, sets `hidden` when closed."
"description": "If `true`, sets the hidden state using `hidden=\"until-found\"`. The panel\nremains mounted in the DOM when closed and overrides `keepMounted`.\nIf `false`, sets the hidden state using `hidden`."
},
"keepMounted": {
"type": "boolean",
"default": "false",
"description": "If `true`, the panel remains mounted when closed and is instead\nhidden using the `hidden` attribute\nIf `false`, the panel is unmounted when closed.\nIf the `hiddenUntilFound` prop is used, the panel overrides this prop and\nis remains mounted when closed."
},
"render": {
"type": "React.ReactElement | (props, state) => React.ReactElement",
Expand Down

0 comments on commit 798e9a4

Please sign in to comment.