Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
render() {
return (
typeof this.state.imageSource === "string"
?
<img src="{this.state.imageSource}">
:
this.state.imageSource
);
}
}
export const stripRemainingProps = props => filterInvalidDOMProps(props)