import { core } from 'core' ; import style from './index.scss' ; const CounterPage = ( ) => { const { Counter } = core . store ; return ( < div className = "counterPage" > < div className = "counter" > { } < h1 className = "title" > 😊 & nbsp ; & nbsp ; 간단한 카운터 : { Counter . count } < /h1> { } < button className = "controlButton" onClick = { ( ) => Counter . down ( ) } > - < /button> { } < input value = { Counter . count } onChange = { ( e ) => ( Counter . count = Number ( e . target . value ) ) } className = "controlInput" / > { } < button className = "controlButton" onClick = { ( ) => Counter . up ( ) } > + < /button> < /div> { } < style jsx > { style } < /style> < /div>); } ; export default CounterPage ;