Incubator.Dialog.Header
Component for displaying the header of a popup dialog
#
Usage<Dialog.Header title={'Title'} subtitle={'Subtitle'} trailingAccessory={renderAccessory}/>
#
API#
bottomAccessoryPass to render a bottom element below the subtitle
ReactElement
#
contentContainerStyleStyle for the leading + content + trailing components (without the bottomAccessory)
ViewProps['style']
#
leadingAccessoryPass to render a leading element
ReactElement
#
onPressonPress callback for the inner content
() => void
#
showDividerShow the header's divider
boolean
#
showKnobShow the header's knob
boolean
#
subtitleSubtitle
string
#
subtitlePropsSubtitle extra props
TextProps
#
subtitleStyleSubtitle text style
StyleProp<TextStyle>
#
titleTitle
string
#
titlePropsTitle extra props
TextProps
#
titleStyleTitle text style
StyleProp<TextStyle>
#
topAccessoryPass to render a top element above the title
ReactElement
#
trailingAccessoryPass to render a trailing element
ReactElement