table
This commit is contained in:
1 parent
bd14ea3461
commit
69ea8eaf6b
2 files changed
+7
-8
No files matched your search
@@ -95,12 +95,15 @@ export function DataTable<
|
|||||||
{headers.map((header) => {
|
{headers.map((header) => {
|
||||||
return (
|
return (
|
||||||
<Grid container key={header.id}>
|
<Grid container key={header.id}>
|
||||||
<Grid size={3} display={"flex"} alignItems={"center"}>
|
<Grid size={5} display={"flex"} alignItems={"center"}>
|
||||||
<Typography component="div" color={theme.palette.text.primary}>
|
<Typography
|
||||||
|
component="div"
|
||||||
|
color={theme.palette.text.primary}
|
||||||
|
>
|
||||||
{header.content}
|
{header.content}
|
||||||
</Typography>
|
</Typography>
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid size={9} display="flex" alignItems={"center"}>
|
<Grid size={7} display="flex" alignItems={"center"}>
|
||||||
{header.render(row)}{" "}
|
{header.render(row)}{" "}
|
||||||
</Grid>
|
</Grid>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|||||||
@@ -65,11 +65,7 @@ const BillingPage = () => {
|
|||||||
title="Choose a plan!"
|
title="Choose a plan!"
|
||||||
description="Choose a plan that fits your needs and start enjoying our services."
|
description="Choose a plan that fits your needs and start enjoying our services."
|
||||||
/>
|
/>
|
||||||
<Grid
|
<Grid container spacing={10} columns={{ xs: 1, sm: 2, md: 4 }}>
|
||||||
container
|
|
||||||
spacing={{ xs: 2, sm: 3, md: 4 }}
|
|
||||||
columns={{ xs: 1, sm: 2, md: 4 }}
|
|
||||||
>
|
|
||||||
{plans.map((plan) => (
|
{plans.map((plan) => (
|
||||||
<Grid key={plan.plan} size={1}>
|
<Grid key={plan.plan} size={1}>
|
||||||
<PlanCard
|
<PlanCard
|
||||||
|
|||||||
Reference in new issue
Block a user