MenuRow

import { MenuRow, MenuLabel, MenuRule } from '@hanzo/ui/product'

No examples yet.

Types

export type DotColor = '$green10' | '$yellow10' | '$soft' | '$faint' | '$dim'
export type MenuRowProps = {
label: string
/** A second, muted line under the label. */
sub?: string
/** A tier dot in place of an icon. */
dot?: DotColor
icon?: ReactNode
/** Whether this row is the chosen one — see the note above on what it decides. */
active?: boolean
/** The destructive register — sign out, delete, revoke. */
danger?: boolean
onPress: () => void
}

Exports

MenuRowMenuLabelMenuRuletype DotColortype MenuRowProps