React Base Fiddle (JSX)
Starting point for creating JSFiddles with React.
by rexonms
HTML
<script src="https://unpkg.com/react@16/umd/react.development.js"></script>
<script src="https://unpkg.com/react-dom@16/umd/react-dom.development.js"></script>
<div id="container">
<!-- This element's contents will be replaced with your component. -->
</div>
Babel + JSX
const region1 = new Intl.DateTimeFormat('zh-CN', { timeZone: 'UTC' });
const options1 = region1.resolvedOptions();
console.log('region1', region1);
console.log(options1);
class TimeNepal extends React.Component {
render() {
return <div>Hello </div>;
}
}
ReactDOM.render(
<TimeNepal type="" />,
document.getElementById('container')
);