featherbit UI
    Preparing search index...

    Function DialogButton

    • Footer action button for Dialog.

      Variants: primary (accent background, for the confirming action), danger (error background, for destructive confirmations such as deleting a route), and ghost (bordered/transparent, for cancel).

      Parameters

      • variant: {
            children: ReactNode;
            onClick: () => void;
            variant?: "primary" | "ghost" | "danger";
        }

        Visual style of the button; defaults to primary.

      Returns Element