T

ButtonRowProps

Props for ButtonRow.

type ButtonRowProps = { … }

Members

A question asked before onPress runs; none when omitted.

disabled?boolean

Dims the row and ignores input. Defaults to false.

labelstring

The row's label.

onPress() => void

Called when the row is pressed, after the user confirms.

subLabel?string

Text shown under the label; none when omitted.

variant?"button" | "danger"

danger draws the row red, for something that cannot be undone.