Skip to content

Commit

Permalink
[docs] Fixing Joy UI usage snippet (#34049)
Browse files Browse the repository at this point in the history
Co-authored-by: danilo leal <67129314+danilo-leal@users.noreply.github.com>
  • Loading branch information
JonathanAsbury-SPS and danilo-leal committed Aug 26, 2022
1 parent ba6b1bb commit efbae4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/data/joy/getting-started/usage/usage.md
Expand Up @@ -11,7 +11,7 @@ Go to your `App.js` file and replace it with the code snippet below. You should
```jsx
import { CssVarsProvider } from '@mui/joy/styles';

function MyApp() {
function App() {
return <CssVarsProvider>Hello from Joy</CssVarsProvider>;
}

Expand All @@ -26,7 +26,7 @@ To render any Joy UI component, make sure you place them inside the `CssVarProvi
import { CssVarsProvider } from '@mui/joy/styles';
+ import Button from '@mui/joy/Button';

function MyApp() {
function App() {
return (
<CssVarsProvider>
+ <Button>Joy UI</Button>
Expand Down

0 comments on commit efbae4d

Please sign in to comment.