AlertDialog API
Every prop of the 11 parts AlertDialog exports, generated from the package manifest.
import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger } from '@oceanic-hub/brand-system'- Layer
- core — shadcn-derived primitives.
- Exports
- AlertDialog · AlertDialogAction · AlertDialogCancel · AlertDialogContent · AlertDialogDescription · AlertDialogFooter · AlertDialogHeader · AlertDialogOverlay · AlertDialogPortal · AlertDialogTitle · AlertDialogTrigger
- Contract
- packages/brand-system/src/components/alert-dialog.contract.test-d.ts
- Demos
- 3 on the AlertDialog page — rendered live, hydrated
- Source
- packages/brand-system/src/components/alert-dialog.tsx
Generated from manifest/component-manifest.json, so it cannot drift from the source. For what AlertDialog is for, how it composes and what it looks like, see AlertDialog.
AlertDialog
Re-exported from @radix-ui/react-alert-dialog. These are its props — this package adds none of its own. DOM attributes are accepted too and omitted here.
Prop
Type
AlertDialogAction
Inherited from @radix-ui/react-alert-dialog — this package adds none of its own. DOM attributes are accepted too and omitted here.
Prop
Type
AlertDialogCancel
Inherited from @radix-ui/react-alert-dialog — this package adds none of its own. DOM attributes are accepted too and omitted here.
Prop
Type
AlertDialogContent
Inherited from @radix-ui/react-alert-dialog — this package adds none of its own. DOM attributes are accepted too and omitted here.
Prop
Type
AlertDialogDescription
Inherited from @radix-ui/react-alert-dialog — this package adds none of its own. DOM attributes are accepted too and omitted here.
Prop
Type
AlertDialogFooter
A styled <div> with no API of its own. It takes that element's standard attributes — className, event handlers, ref — and nothing else.
AlertDialogHeader
A styled <div> with no API of its own. It takes that element's standard attributes — className, event handlers, ref — and nothing else.
AlertDialogOverlay
Inherited from @radix-ui/react-alert-dialog — this package adds none of its own. DOM attributes are accepted too and omitted here.
Prop
Type
AlertDialogPortal
Re-exported from @radix-ui/react-alert-dialog. These are its props — this package adds none of its own. DOM attributes are accepted too and omitted here.
Prop
Type
AlertDialogTitle
Inherited from @radix-ui/react-alert-dialog — this package adds none of its own. DOM attributes are accepted too and omitted here.
Prop
Type
AlertDialogTrigger
Re-exported from @radix-ui/react-alert-dialog. These are its props — this package adds none of its own. DOM attributes are accepted too and omitted here.
Prop
Type