Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
}
if (this.props.strokeWidth !== undefined) {
combinedStyles.strokeWidth = this.props.strokeWidth.toString();
}
if (combinedStyles.flex === undefined) {
combinedStyles.flex = '0 0 auto';
}
if (combinedStyles.overflow === undefined) {
combinedStyles.overflow = 'hidden';
}
if (this.props.webShadow) {
let aliases = RXStyles.getCssPropertyAliasesCssStyle();
if (this._isFilterDropShadowSupported()) {
let filterAlias = aliases['filter'] || 'filter';
combinedStyles[filterAlias] = 'drop-shadow(' + this.props.webShadow + ')';
}
}
return (
<svg width="{" height="{" style="{" viewBox="{">
{ this.props.children }
</svg>