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