mirror of
https://github.com/lemeow125/Ivy-Frontend.git
synced 2025-04-19 00:11:29 +08:00
30 lines
691 B
TypeScript
30 lines
691 B
TypeScript
import React from "react";
|
|
|
|
export interface props {
|
|
children: React.ReactNode;
|
|
}
|
|
|
|
export default function DashboardContainer(props: props) {
|
|
return (
|
|
<div style={{ marginRight: 32, marginLeft: 32 }}>
|
|
<div
|
|
style={{
|
|
display: "flex",
|
|
flexDirection: "column",
|
|
alignSelf: "flex-start",
|
|
justifyContent: "left",
|
|
backgroundColor: "#1d3b33",
|
|
borderRadius: 16,
|
|
padding: 16,
|
|
width: "100%",
|
|
height: "100%",
|
|
lineHeight: 0.4,
|
|
marginLeft: 8,
|
|
marginRight: 8,
|
|
}}
|
|
>
|
|
{props.children}
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|