"use client"; import { useState } from "react"; import Tooltip from "../components/Tooltip"; import Alert from "../components/Alert"; import Button from "../components/Button"; import Stepper from "../components/Stepper"; import Progress from "../components/Progress"; export default function ComponentsPreview() { const [alertVisible, setAlertVisible] = useState({ default: true, positive: true, warning: true, danger: true, banner: true, }); return (

Component Preview

Temporary page for viewing and testing new components

{/* Tooltip Section */}

Tooltip Component

{/* Alert Section */}

Alert Component

{/* Toast Alerts */}

Toast Alerts

{alertVisible.default && ( setAlertVisible({ ...alertVisible, default: false }) } /> )} {alertVisible.positive && ( setAlertVisible({ ...alertVisible, positive: false }) } /> )} {alertVisible.warning && ( setAlertVisible({ ...alertVisible, warning: false }) } /> )} {alertVisible.danger && ( setAlertVisible({ ...alertVisible, danger: false }) } /> )}
{/* Banner Alerts */}

Banner Alerts

{alertVisible.banner && ( setAlertVisible({ ...alertVisible, banner: false }) } /> )}
{/* Stepper Section */}

Stepper Component

Step 1 of 5

Step 2 of 5

Step 3 of 5

Step 4 of 5

Step 5 of 5

{/* Progress Section */}

Progress Component

Progress: 1-0

Progress: 1-1

Progress: 1-2

Progress: 1-3

Progress: 1-4

Progress: 1-5

Progress: 2-0

Progress: 2-1

Progress: 2-2

Progress: 3-0

Progress: 3-1

Progress: 3-2

); }