How to use the linkifyjs/react.propTypes 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
export const Linkify = (props: Props) => {
    const childOptions = {
        validate: validateURL,
        ...(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 5 months ago

Package Health Score

83 / 100
Full package analysis