Buckets:
| import React, { ReactNode } from "react"; | |
| import Header from "./Header"; | |
| type Props = { | |
| children: ReactNode; | |
| }; | |
| const Layout: React.FC<Props> = (props) => ( | |
| <div style={{ paddingBottom: "30px" }}> | |
| <Header /> | |
| <div className="layout">{props.children}</div> | |
| <style jsx global>{` | |
| html { | |
| box-sizing: border-box; | |
| } | |
| *, | |
| *:before, | |
| *:after { | |
| box-sizing: inherit; | |
| } | |
| body { | |
| margin: 0; | |
| padding: 0; | |
| font-size: 16px; | |
| font-family: | |
| -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, | |
| Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", | |
| "Segoe UI Symbol"; | |
| background: rgba(0, 0, 0, 0); | |
| } | |
| input, | |
| textarea, | |
| button { | |
| font-size: 16px; | |
| } | |
| button { | |
| cursor: pointer; | |
| } | |
| `}</style> | |
| <style jsx>{` | |
| .layout { | |
| padding: 0 2rem; | |
| } | |
| `}</style> | |
| </div> | |
| ); | |
| export default Layout; | |
Xet Storage Details
- Size:
- 1 kB
- Xet hash:
- 5f510741a17797e597d712354ed7aacd32d6babfd8b739f8d9e791f88d7ffee8
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.