Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
borderRadius: '5px',
border: 'none',
outline: 'none',
'&:hover': {
color: '#fff',
},
'&:active': {
position: 'relative',
top: '2px'
},
'@media (max-width: 480px)': {
width: '160px'
}
});
@injectStyle(Style)
class Button extends Component {
render() {
return (
<div>
<button>Click me!</button>
</div>
);
}
};
React.render(<button>, document.getElementById('content'));
</button>