Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
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;