INNER CODE UNIT · JavaScript

ParsedText

taskrabbit/react-native-parsed-text · src/ParsedText.js:63

class ParsedText extends React.Component {
  static displayName = 'ParsedText';

  static propTypes = {
    ...Text.propTypes,
    parse: PropTypes.arrayOf(
      PropTypes.oneOfType([defaultParseShape, customParseShape]),
    ),
    childrenProps: PropTypes.shape(Text.propTypes),
  };

  static defaultProps = {
    parse: null,
    childrenProps: {},
  };

  setNativeProps(nativeProps) {
    this._root.setNativeProps(nativeProps);

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…