├── .surgeignore ├── CNAME ├── example.png ├── .gitignore ├── .babelrc ├── lib ├── ToolTipButton │ ├── style.js │ └── index.js ├── Sandbox.js ├── utils.js ├── ReactPlay.js ├── Header.js └── App.js ├── oauth_redirect.html ├── index.js ├── README.md ├── index.html ├── package.json └── config.js /.surgeignore: -------------------------------------------------------------------------------- 1 | jspm_packages/ 2 | -------------------------------------------------------------------------------- /CNAME: -------------------------------------------------------------------------------- 1 | react-play.surge.sh 2 | -------------------------------------------------------------------------------- /example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cem2ran/react-play/HEAD/example.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | 3 | node_modules/ 4 | jspm_packages/ 5 | bundle/* 6 | -------------------------------------------------------------------------------- /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["es2015", "stage-0", "react"], 3 | "plugins": ["syntax-object-rest-spread"] 4 | } 5 | -------------------------------------------------------------------------------- /lib/ToolTipButton/style.js: -------------------------------------------------------------------------------- 1 | export default { 2 | border: 0, 3 | padding: '8px', 4 | background: 'none', 5 | fontWeight: 300, 6 | cursor: 'pointer', 7 | float: 'left' 8 | } 9 | -------------------------------------------------------------------------------- /oauth_redirect.html: -------------------------------------------------------------------------------- 1 | 7 | -------------------------------------------------------------------------------- /lib/Sandbox.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import srcDoc from 'srcdoc-polyfill'; 3 | 4 | const Sandbox = ({src, html, sandbox, style={}}) => { 5 | sandbox = sandbox ? sandbox.join(' ') : '' 6 | 7 | return