How to use the linkifyjs/react.defaultProps function in linkifyjs

To help you get started, we’ve selected a few linkifyjs examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github jenkinsci / blueocean-plugin / jenkins-design-language / src / js / components / Linkify.jsx View on Github external
...(props.options || {}),
    };

    const childProps = {
        ...props,
        options: childOptions,
    };

    return ;
};

Linkify.propTypes = {
    ...OriginalLinkify.propTypes,
    options: PropTypes.object,
};
Linkify.defaultProps = OriginalLinkify.defaultProps;

linkifyjs

Find URLs, email addresses, #hashtags and @mentions in plain-text strings, then convert them into HTML <a> links.

MIT
Latest version published 18 days ago

Package Health Score

88 / 100
Full package analysis