Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const withStyles: (styles: any) => Function = require("isomorphic-style-loader/lib/withStyles").default;
const styles = require("./app.scss");
class App extends React.Component<{}, {}> {
public render() {
return (
<div>
<h1>Hello World!</h1>
<div>This component is synchronously loaded!</div>
</div>
);
}
}
export default withStyles(styles)(App);