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] Move codesandbox to MUI org #33122

Merged
merged 2 commits into from
Jun 13, 2022
Merged
Show file tree
Hide file tree
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
7 changes: 1 addition & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,15 +134,10 @@ Here is an example of a basic app using Material UI's `Button` component:

```jsx
import * as React from 'react';
import ReactDOM from 'react-dom';
import Button from '@mui/material/Button';

function App() {
return (
<Button variant="contained" color="primary">
Hello World
</Button>
);
return <Button variant="contained">Hello World</Button>;
}
```

Expand Down
2 changes: 1 addition & 1 deletion docs/data/base/getting-started/usage/Usage.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default function Usage() {
return (
<iframe
title="codesandbox"
src="https://codesandbox.io/embed/base-usage-7km2h7?hidenavigation=1&fontsize=14&view=preview"
src="https://codesandbox.io/embed/7km2h7?hidenavigation=1&fontsize=14&view=preview"
style={{
width: '100%',
height: 350,
Expand Down
1 change: 0 additions & 1 deletion docs/data/base/getting-started/usage/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ The following code snippet demonstrates a simple app that uses the MUI Base [`Bu

```jsx
import * as React from 'react';
import ReactDOM from 'react-dom';
import ButtonUnstyled from '@mui/base/ButtonUnstyled';

function App() {
Expand Down
1 change: 0 additions & 1 deletion docs/data/material/customization/theming/theming.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,6 @@ It should preferably be used at **the root of your component tree**.

```jsx
import * as React from 'react';
import ReactDOM from 'react-dom';
import { red } from '@mui/material/colors';
import { ThemeProvider, createTheme } from '@mui/material/styles';

Expand Down
7 changes: 1 addition & 6 deletions docs/data/material/getting-started/learn/learn.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,10 @@ The following code snippet demonstrates a basic Material UI app that features a

```jsx
import * as React from 'react';
import ReactDOM from 'react-dom';
import Button from '@mui/material/Button';

function App() {
return (
<Button variant="contained" color="primary">
Hello World
</Button>
);
return <Button variant="contained">Hello World</Button>;
}
```

Expand Down
2 changes: 1 addition & 1 deletion docs/data/material/getting-started/usage/Usage.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default function Usage() {
return (
<iframe
title="codesandbox"
src="https://codesandbox.io/embed/4j7m47vlm4?hidenavigation=1&fontsize=14&view=preview"
src="https://codesandbox.io/embed/u9sy1h?hidenavigation=1&fontsize=14&view=preview"
style={{
width: '100%',
height: 350,
Expand Down
1 change: 0 additions & 1 deletion docs/data/material/getting-started/usage/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ Here's a quick example to get you started, **it's literally all you need**:

```jsx
import * as React from 'react';
import ReactDOM from 'react-dom';
import Button from '@mui/material/Button';

function App() {
Expand Down
2 changes: 1 addition & 1 deletion docs/data/material/guides/shadow-dom/ShadowDOMDemo.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default function ShadowDOMDemo() {
return (
<iframe
title="codesandbox"
src="https://codesandbox.io/embed/basicselect-demo-material-ui-forked-rki9k5?hidenavigation=1&fontsize=14&view=preview&hidedevtools=1"
src="https://codesandbox.io/embed/rki9k5?hidenavigation=1&fontsize=14&view=preview"
style={{
width: '100%',
height: 350,
Expand Down
16 changes: 0 additions & 16 deletions docs/data/material/guides/shadow-dom/ShadowDOMDemo.tsx

This file was deleted.

10 changes: 0 additions & 10 deletions docs/data/material/guides/shadow-dom/ShadowDOMDemo.tsx.preview

This file was deleted.

2 changes: 1 addition & 1 deletion docs/data/material/guides/shadow-dom/shadow-dom.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ const theme = createTheme({

In the example below you can see that the component outside of the shadow DOM is affected by global styles, while the component inside of the shadow DOM is not:

{{"demo": "ShadowDOMDemo.js", "defaultCodeOpen": false}}
{{"demo": "ShadowDOMDemo.js", "hideToolbar": true, "bg": true}}
2 changes: 0 additions & 2 deletions docs/data/styles/api/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,6 @@ It should preferably be used at **the root of your component tree**.

```jsx
import * as React from 'react';
import ReactDOM from 'react-dom';
import { StylesProvider } from '@mui/styles';

function App() {
Expand All @@ -265,7 +264,6 @@ It should preferably be used at **the root of your component tree**.

```jsx
import * as React from 'react';
import ReactDOM from 'react-dom';
import { ThemeProvider } from '@mui/material/styles';

const theme = {};
Expand Down