1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/test/integration/basic/pages/hmr/style-stateful-component.js

21 lines
431 B
JavaScript
Raw Normal View History

import React, { Component } from 'react'
export default class StyleStateFul extends Component {
render () {
return (
<React.Fragment>
<div className='hmr-style-page'>
<p>
This is the style page.
<style jsx>{`
p {
font-size: 100px;
}
`}</style>
</p>
</div>
</React.Fragment>
)
}
}