Skip to content

AlertDialogFooter

Open .md
Live preview

Loading example…

AlertDialogFooter is part of the Overlays set, imported from @jcsoftdev/ui/overlays.

import { AlertDialogFooter } from "@jcsoftdev/ui/overlays";

Single-component entry points tree-shake to just this component: @jcsoftdev/ui/overlays/alert-dialog.

<AlertDialogFooter
trigger={<Button variant="danger">Delete appointment</Button>}
title="Delete this appointment?"
description="Marco Salazar will be notified and the slot becomes free."
confirmLabel="Delete"
tone="danger"
/>

This component declares no props of its own.

It also accepts the native props of the element or primitive it renders (for example className, id, aria-* and event handlers).

packages/ui/src/overlays/alert-dialog/alert-dialog.tsx