Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

button.js

22 lines440 Bytes

1import React from 'react'
2​
3export default ({ children, ...props }) => {
4 return (
5 <div>
6 <button {...props}>
7 {children}
8 <style jsx>{`
9 button {
10 width: 100px;
11 height: 40px;
12 border: none;
13 color: #fff;
14 background: #03a9f4;
15 font-size: 1rem;
16 border-radius: 5px;
17 }
18 `}</style>
19 </button>
20 </div>
21 )