Skip to content

Commit

Permalink
[core] Fix playground structure (mui#6466)
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasTy authored Oct 12, 2022
1 parent 277ab07 commit fa1db44
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 12 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ __diff_output__
/.nyc_output
/coverage
/docs/.next
/docs/pages/playground.tsx
/docs/pages/playground
/docs/pages/playground*
/docs/export
/test/regressions/screenshots
build
Expand Down
10 changes: 0 additions & 10 deletions docs/pages/playground.example.tsx

This file was deleted.

17 changes: 17 additions & 0 deletions docs/pages/playground/example.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import * as React from 'react';

export default function PlaygroundExample() {
return (
<div>
<p>A playground for a fast iteration development cycle.</p>
<p>
This page is accessible via{' '}
<a href="http://localhost:3001/playground/example/">playground/example</a>
</p>
<p>
You can create as many components here as you like and access them by changing{' '}
<strong>example</strong> to whatever your other component is named.
</p>
</div>
);
}

0 comments on commit fa1db44

Please sign in to comment.