16 lines
309 B
JavaScript
16 lines
309 B
JavaScript
export default function Button({ children }) {
|
|
return (
|
|
<button
|
|
style={{
|
|
borderRadius: '3px',
|
|
border: '1px solid black',
|
|
color: 'black',
|
|
padding: '0.5em 1em',
|
|
cursor: 'pointer',
|
|
fontSize: '1.1em',
|
|
}}
|
|
>
|
|
{children}
|
|
</button>
|
|
)
|
|
}
|