mirror of
https://github.com/bendtherules/ts-transformer-visualizer.git
synced 2026-08-19 00:35:13 +00:00
src, example - Formatr all files using prettier
This commit is contained in:
+5
-11
@@ -2,22 +2,16 @@
|
||||
* @class ExampleComponent
|
||||
*/
|
||||
|
||||
import * as React from 'react'
|
||||
import * as React from "react";
|
||||
|
||||
import styles from './styles.css'
|
||||
import styles from "./styles.css";
|
||||
|
||||
export type Props = { text: string }
|
||||
export type Props = { text: string };
|
||||
|
||||
export default class ExampleComponent extends React.Component<Props> {
|
||||
render() {
|
||||
const {
|
||||
text
|
||||
} = this.props
|
||||
const { text } = this.props;
|
||||
|
||||
return (
|
||||
<div className={styles.test}>
|
||||
Example Component: {text}
|
||||
</div>
|
||||
)
|
||||
return <div className={styles.test}>Example Component: {text}</div>;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user