Optional
componentDirect props to set on the React Native component (including iOS and Android specific props). Most use cases should not need this.
Optional
disableDisable padding (useful for loading websites)
Optional
disableForce no scroll view for sourceNode
Optional
dismissOn dismiss accessibility or visible text (iOS is visible, Android is accessibility). Defaults to ENGLISH "Done"
Optional
forceForce the view (mostly for teting) to a specific platform
Optional
navigationNavigation footer to load in the document viewer (used mostly by other flows)
Optional
onCallback when the view is dismissed (if not set will not render close option)
Optional
renderRender children component into the document viewer. This is useful for rendering a modal within here.
Optional
source?: DocumentViewerSourceContent to render (supports HTML (text or URL) and plain text)
Optional
sourceContent to render as React Nodes. If set source is not used. Content is automatically wrapped in a ScrollView.
Optional
style?: StyleProp<ViewStyle>Style to set on the item
Title of text document
Generated using TypeDoc
Props for DocumentViewer component