From 8584e741b0fb21d99f3523d26cddb399bdb926c8 Mon Sep 17 00:00:00 2001 From: JoelVR17 Date: Sun, 23 Feb 2025 23:31:40 -0600 Subject: [PATCH] feat: add optional id prop to CreateButton component --- src/components/utils/ui/Create.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/utils/ui/Create.tsx b/src/components/utils/ui/Create.tsx index 03a16b4..40be606 100644 --- a/src/components/utils/ui/Create.tsx +++ b/src/components/utils/ui/Create.tsx @@ -5,11 +5,12 @@ interface CreateButtonProps { label: string; url: string; className?: string; + id?: string; } -const CreateButton = ({ label, url, className }: CreateButtonProps) => { +const CreateButton = ({ label, url, className, id }: CreateButtonProps) => { return ( - + );