Skip to content

BbConfirm

The confirm() dialog.

import { BbConfirm } from 'bitboss-ui';

On this page

Props

NameDescription
pt Type: PtMap<BbConfirmPtPart, "open" | "default" | "destructive">

Passthrough, object form: the same keys as the pt:* attributes without the prefix. See the pt:<part> row.

pt:<part> Type: PtValue

Passthrough, attribute form: one attribute per part, pt:<part>, and per part and state, pt:<part>:<state>. Parts: action, close, content, footer, header, root, sheet, text, title. States: default, destructive, open.

Not attributes on a tag: <BbHost /> takes no props. These parts are the keys of the build-time pt.BbConfirm map, which styles every confirm the app opens.

See example