Skip to main content

RenderHTMLProps

export
type RenderHTMLProps<
> = any

Fields

allowedStyles

allowedStyles?: CSSPropertyNameList;

baseStyle

baseStyle?: MixedStyleDeclaration;

bypassAnonymousTPhrasingNodes

bypassAnonymousTPhrasingNodes?: boolean;

classesStyles

classesStyles?: Readonly<Record<string, MixedStyleDeclaration>>;

computeEmbeddedMaxWidth

computeEmbeddedMaxWidth?: function __type(
  contentWidth: number,
  tagName: string
) : number;

contentWidth

contentWidth?: number;

customHTMLElementModels

customHTMLElementModels?: HTMLElementModelRecord;

customListStyleSpecs

customListStyleSpecs?: Record<string, ListStyleSpec>;

dangerouslyDisableHoisting

dangerouslyDisableHoisting?: boolean;

dangerouslyDisableWhitespaceCollapsing

dangerouslyDisableWhitespaceCollapsing?: boolean;

debug

debug?: boolean;

defaultTextProps

defaultTextProps?: TextProps;

defaultViewProps

defaultViewProps?: ViewProps;

defaultWebViewProps

defaultWebViewProps?: any;

domVisitors

domVisitors?: DomVisitorCallbacks;

emSize

emSize?: number;

enableCSSInlineProcessing

enableCSSInlineProcessing?: boolean;

enableExperimentalBRCollapsing

enableExperimentalBRCollapsing?: boolean;

enableExperimentalGhostLinesPrevention

enableExperimentalGhostLinesPrevention?: boolean;

enableExperimentalMarginCollapsing

enableExperimentalMarginCollapsing?: boolean;

enableUserAgentStyles

enableUserAgentStyles?: boolean;

fallbackFonts

fallbackFonts?: FallbackFontsDefinitions;

GenericPressable

GenericPressable?: ComponentType<GenericPressableProps>;

htmlParserOptions

htmlParserOptions?: ParserOptions;

idsStyles

idsStyles?: Readonly<Record<string, MixedStyleDeclaration>>;

ignoredDomTags

ignoredDomTags?: Array<string>;

ignoreDomNode

ignoreDomNode?: function __type(
  node: Node,
  parent: NodeWithChildren
) : unknown;

ignoredStyles

ignoredStyles?: CSSPropertyNameList;

onDocumentMetadataLoaded

onDocumentMetadataLoaded?: function __type(
  documentMetadata: DocumentMetadata
) : void;

onHTMLLoaded

onHTMLLoaded?: function __type(
  html: string
) : void;

onTTreeChange

onTTreeChange?: function __type(
  ttree: TDocument
) : void;

pressableHightlightColor

pressableHightlightColor?: string;

provideEmbeddedHeaders

provideEmbeddedHeaders?: EmbeddedHeadersProvider;

remoteErrorView

remoteErrorView?: function __type(
  source: HTMLSourceUri
) : ReactElement;

remoteLoadingView

remoteLoadingView?: function __type(
  source: HTMLSourceUri
) : ReactElement;

renderers

renderers?: CustomTagRendererRecord;

renderersProps

renderersProps?: Partial<RenderersProps>;

selectDomRoot

selectDomRoot?: function __type(
  node: NodeWithChildren
) : any;

setMarkersForTNode

setMarkersForTNode?: SetMarkersForTNode;

source

source: HTMLSource;

systemFonts

systemFonts?: Array<string>;

tagsStyles

tagsStyles?: Readonly<Record<string, MixedStyleDeclaration>>;

WebView

WebView?: ComponentType<any>;