Function
headerElement
(header: string, svg: ReactNode)
Source from the content-addressed store, hash-verified
| 30 | }); |
| 31 | |
| 32 | const headerElement = (header: string, svg: ReactNode) => |
| 33 | React.createElement( |
| 34 | "div", |
| 35 | { |
| 36 | style: { |
| 37 | display: "flex", |
| 38 | alignItems: "center", |
| 39 | marginTop: "50px", |
| 40 | }, |
| 41 | }, |
| 42 | svg, |
| 43 | React.createElement( |
| 44 | "label", |
| 45 | { |
| 46 | style: { |
| 47 | fontSize: 30, |
| 48 | fontWeight: 600, |
| 49 | letterSpacing: 1, |
| 50 | color: "#58c142", |
| 51 | }, |
| 52 | }, |
| 53 | header |
| 54 | ) |
| 55 | ); |
| 56 | |
| 57 | const rootDivStyle: React.CSSProperties = { |
| 58 | display: "flex", |
Tested by
no test coverage detected