- {buttons.map((button, index) => (
-
- ))}
+ {buttons.map(({ url, ...button }, index) =>
+ url ? (
+
+
+
+ ) : (
+
+ )
+ )}
@@ -201,6 +216,7 @@ export const Navbar3Defaults: Props = {
title: "Tickets",
size: "sm",
variant: "primary",
+ url: "/tickets",
},
],
};
diff --git a/relume-test/src/components/Pricing1Ticket.tsx b/relume-test/src/components/Pricing1Ticket.tsx
new file mode 100644
index 0000000..e20db1c
--- /dev/null
+++ b/relume-test/src/components/Pricing1Ticket.tsx
@@ -0,0 +1,79 @@
+import React, { useState } from "react";
+
+type TicketPlan = {
+ period: string;
+ price: number;
+ date: string;
+};
+
+type Props = {
+ heading: string;
+ plan: TicketPlan;
+};
+
+export type Pricing1TicketProps = React.ComponentPropsWithoutRef<"section"> & Partial