mirror of
https://github.com/Unleash/unleash.git
synced 2025-08-27 13:49:10 +02:00
stub out section element
This commit is contained in:
parent
8e5112d764
commit
d1f117405b
@ -1,4 +1,4 @@
|
||||
import type { FC } from 'react';
|
||||
import type { FC, PropsWithChildren } from 'react';
|
||||
import { Box, Paper, styled } from '@mui/material';
|
||||
import { UserStats } from './componentsStat/UserStats/UserStats.tsx';
|
||||
import { UsersChart } from './componentsChart/UsersChart/UsersChart.tsx';
|
||||
@ -91,6 +91,16 @@ const StyledChartContainer = styled(Box)(({ theme }) => ({
|
||||
padding: theme.spacing(3),
|
||||
}));
|
||||
|
||||
const Section: FC<PropsWithChildren<{ title: string }>> = ({
|
||||
title,
|
||||
children,
|
||||
}) => (
|
||||
<section>
|
||||
<h2>{title}</h2>
|
||||
{children}
|
||||
</section>
|
||||
);
|
||||
|
||||
export const InsightsCharts: FC<IChartsProps> = ({
|
||||
projects,
|
||||
summary,
|
||||
|
Loading…
Reference in New Issue
Block a user