OSDN Git Service

60c81594bb7c4d2718147c8064f14e17edf212c2
[projectv/server.git] / dist / components / box.jsx
1 "use strict";
2 Object.defineProperty(exports, "__esModule", { value: true });
3 exports.Box = void 0;
4 const Box = ({ children, w, display, bgColor, h, m, p, jc, ai, textSize }) => {
5     return (<div style={{
6             backgroundColor: bgColor,
7             color: '#000',
8             height: h,
9             width: w,
10             display: display,
11             justifyContent: jc,
12             alignItems: ai,
13             padding: p,
14             margin: m,
15             fontSize: textSize
16         }}>
17             {children}
18         </div>);
19 };
20 exports.Box = Box;