import React from 'react' ; import { render } from 'react-dom' ; import { Title } from './components/Title' ; import './test.less' ; import './test.scss' ; import lessStyle from './test.module.less' ; import sassStyle from './test.module.scss' ; function App ( ) { return < Title text = "Hello World!" className = { lessStyle . underline + ' ' + sassStyle . transform } / > ; } render ( < App />, document.querySelector('#app')); if ( module . hot ) { module . hot . accept ( ) ; }