most popular chip
This commit is contained in:
1 parent
5c889f3a63
commit
ba6c9a481d
1 file changed
+12
-3
@@ -126,7 +126,16 @@ export const PlanCard = ({
|
|||||||
</Typography>
|
</Typography>
|
||||||
<Stack direction="row" alignItems="center" spacing={1}>
|
<Stack direction="row" alignItems="center" spacing={1}>
|
||||||
{plan.plan === "pro" && (
|
{plan.plan === "pro" && (
|
||||||
<Chip size="small" label="Most popular" sx={{ bgcolor: theme.palette.accent.main, color: theme.palette.getContrastText(theme.palette.accent.main) }} />
|
<Chip
|
||||||
|
size="small"
|
||||||
|
label="Most popular"
|
||||||
|
sx={{
|
||||||
|
bgcolor: theme.palette.accent.main,
|
||||||
|
color: theme.palette.getContrastText(
|
||||||
|
theme.palette.accent.main
|
||||||
|
),
|
||||||
|
}}
|
||||||
|
/>
|
||||||
)}
|
)}
|
||||||
<Icon size={18} />
|
<Icon size={18} />
|
||||||
</Stack>
|
</Stack>
|
||||||
@@ -141,12 +150,12 @@ export const PlanCard = ({
|
|||||||
<Check size={16} color={checkColor} />
|
<Check size={16} color={checkColor} />
|
||||||
{item.tooltip ? (
|
{item.tooltip ? (
|
||||||
<Tooltip title={item.tooltip} arrow placement="right">
|
<Tooltip title={item.tooltip} arrow placement="right">
|
||||||
<Typography variant="body1" color="text.secondary">
|
<Typography variant="body1" color="text.secondary" fontSize={18}>
|
||||||
{item.label}: {item.value}
|
{item.label}: {item.value}
|
||||||
</Typography>
|
</Typography>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
) : (
|
) : (
|
||||||
<Typography variant="body1" color="text.secondary">
|
<Typography variant="body1" color="text.secondary" fontSize={18}>
|
||||||
{item.label}: {item.value}
|
{item.label}: {item.value}
|
||||||
</Typography>
|
</Typography>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in new issue
Block a user