import React from 'react'; import { StyleSheet, TextProps, TextStyle } from 'react-native'; export interface Props extends TextProps { /** * HTML-like text containing style tags * e.g., `Welcome to React Native Styled Text demo!` * where the style tags must be either one of the predefined tags: ``, `` or `` * or refer to custom styles defined in the textStyles property, e.g. `` */ children?: string; /** * Custom styles which may be used as style tags in the text property */ textStyles?: object; } /** * Use StyledText for shorthand mixing of text styles with an HTML-like notation. * * children should be an HTML-like text containing style tags * e.g., `Welcome to React Native Styled Text demo!` * where the style tags must be either one of the predefined tags: ``, `` or `` * or refer to custom styles defined in the textStyles property, e.g. `` */ declare const StyledText: (props: Props) => React.ReactElement | null; export default StyledText;