Admin
Add: - screens/Admin/ - admin/notification/ Component Add: - components/_ShareComponent/GridSectionView.tsx ### No Issue
This commit is contained in:
25
components/_ShareComponent/GridSectionView.tsx
Normal file
25
components/_ShareComponent/GridSectionView.tsx
Normal file
@@ -0,0 +1,25 @@
|
||||
import Grid from "../Grid/GridCustom";
|
||||
|
||||
export default function GridComponentView({
|
||||
leftIcon,
|
||||
children,
|
||||
rightIcon,
|
||||
}: {
|
||||
leftIcon?: React.ReactNode;
|
||||
children: React.ReactNode;
|
||||
rightIcon?: React.ReactNode;
|
||||
}) {
|
||||
return (
|
||||
<Grid containerStyle={{ marginBottom: 0 }}>
|
||||
<Grid.Col span={1} style={{ justifyContent: "center" }}>
|
||||
{leftIcon}
|
||||
</Grid.Col>
|
||||
<Grid.Col span={10} style={{ justifyContent: "center" }}>
|
||||
{children}
|
||||
</Grid.Col>
|
||||
<Grid.Col span={1} style={{ justifyContent: "center" }}>
|
||||
{rightIcon}
|
||||
</Grid.Col>
|
||||
</Grid>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user