Modal.TopBar

Modal.TopBar, inner component for configuring the Modal component's title, buttons and statusBar

PROPS

namedescriptiontypedefault
titletitle to display in the center of the top barstring
titleStyletitle custom styleunion
doneButtonPropsdone action props (Button props)shape{}
doneLabeldone action labelstring'Save'
doneIcondone action iconunion
onDonedone action callbackfunc
cancelButtonPropscancel action props (Button props)shape{}
cancelLabelcancel action labelstring
cancelIconcancel action iconunionAssets.icons.x
onCancelcancel action callbackfunc
includeStatusBarwhether to include status bar or not (height claculations)boolConstants.isIOS

CODE SAMPLE

See example here.