Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] Fixing Joy UI usage snippet #34049

Merged
merged 2 commits into from Aug 26, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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