Skip to content

Commit bd31c58

Browse files
committed
added preview
1 parent 15e5352 commit bd31c58

File tree

1 file changed

+14
-0
lines changed
  • docs/client/components/PlaygroundPage/PlaygroundWithPreview

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import React from 'react';
2+
3+
import styles from './styles.scss';
4+
5+
const Preview = ({ code }) => (
6+
<div className={styles.preview}>
7+
<div className="header">
8+
Preview
9+
</div>
10+
{code}
11+
</div>
12+
);
13+
14+
export default Preview;

0 commit comments

Comments
 (0)