Fixed icon size and naming
This commit is contained in:
parent
6e353ba3ee
commit
755f8c6e70
3 changed files with 5 additions and 5 deletions
|
|
@ -6,7 +6,7 @@ interface SidebarNavProps extends React.HTMLAttributes<HTMLElement> {
|
|||
items: {
|
||||
href: string;
|
||||
title: string;
|
||||
Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
||||
icon: React.ReactNode;
|
||||
}[];
|
||||
}
|
||||
|
||||
|
|
@ -38,7 +38,7 @@ export default function SidebarNav({
|
|||
"justify-start gap-2"
|
||||
)}
|
||||
>
|
||||
<item.Icon className="w-5 stroke-[1.5]" />
|
||||
{item.icon}
|
||||
{item.title}
|
||||
</Link>
|
||||
))}
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@ export default function ComponentsComponent({
|
|||
}}
|
||||
className="underline"
|
||||
>
|
||||
Create a New Flow
|
||||
Start Here
|
||||
</button>
|
||||
.
|
||||
</span>
|
||||
|
|
|
|||
|
|
@ -45,12 +45,12 @@ export default function HomePage(): JSX.Element {
|
|||
{
|
||||
title: "Flows",
|
||||
href: "/flows",
|
||||
Icon: Group,
|
||||
icon: <Group className="w-5 stroke-[1.5]" />,
|
||||
},
|
||||
{
|
||||
title: "Components",
|
||||
href: "/components",
|
||||
Icon: ToyBrick,
|
||||
icon: <ToyBrick className="mx-[0.08rem] w-[1.1rem] stroke-[1.5]" />,
|
||||
},
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue