mirror of
https://github.com/hanzoai/prettier.git
synced 2026-09-24 17:02:04 +00:00
12 lines
148 B
JavaScript
12 lines
148 B
JavaScript
var React = require('react');
|
|
|
|
class C extends React.Component {
|
|
props: { x: string };
|
|
}
|
|
|
|
let msg = "hello";
|
|
|
|
(<C x={msg}/>);
|
|
|
|
(<div id={msg}/>);
|