Skip to content

Commit

Permalink
[docs] Show all the code in the usage section (#38691)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari authored Aug 29, 2023
1 parent 7fa043b commit b14e8b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/data/joy/getting-started/usage/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
After [installation](/joy-ui/getting-started/installation/), you can import any Joy UI component and start playing around.
For example, try changing the `variant` on the [Button](/joy-ui/react-button/) to `soft` to see how the style changes:

{{"demo": "ButtonUsage.js"}}
{{"demo": "ButtonUsage.js", "defaultCodeOpen": true}}

### CssVarsProvider

Expand Down
2 changes: 1 addition & 1 deletion docs/data/material/getting-started/usage/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
After [installation](/material-ui/getting-started/installation/), you can import any Material UI component and start playing around.
For example, try changing the `variant` on the [Button](/material-ui/react-button/) to `outlined` to see how the style changes:

{{"demo": "ButtonUsage.js"}}
{{"demo": "ButtonUsage.js", "defaultCodeOpen": true}}

## Globals

Expand Down

0 comments on commit b14e8b8

Please sign in to comment.