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) => {
|
||||
return (
|
||||
<Grid container key={header.id}>
|
||||
<Grid size={3} display={"flex"} alignItems={"center"}>
|
||||
<Typography component="div" color={theme.palette.text.primary}>
|
||||
<Grid size={5} display={"flex"} alignItems={"center"}>
|
||||
<Typography
|
||||
component="div"
|
||||
color={theme.palette.text.primary}
|
||||
>
|
||||
{header.content}
|
||||
</Typography>
|
||||
</Grid>
|
||||
<Grid size={9} display="flex" alignItems={"center"}>
|
||||
<Grid size={7} display="flex" alignItems={"center"}>
|
||||
{header.render(row)}{" "}
|
||||
</Grid>
|
||||
</Grid>
|
||||
|
||||
@@ -65,11 +65,7 @@ const BillingPage = () => {
|
||||
title="Choose a plan!"
|
||||
description="Choose a plan that fits your needs and start enjoying our services."
|
||||
/>
|
||||
<Grid
|
||||
container
|
||||
spacing={{ xs: 2, sm: 3, md: 4 }}
|
||||
columns={{ xs: 1, sm: 2, md: 4 }}
|
||||
>
|
||||
<Grid container spacing={10} columns={{ xs: 1, sm: 2, md: 4 }}>
|
||||
{plans.map((plan) => (
|
||||
<Grid key={plan.plan} size={1}>
|
||||
<PlanCard
|
||||
|
||||
Reference in new issue
Block a user