mirror of
https://github.com/zhigang1992/react-native-web.git
synced 2026-06-19 18:23:45 +08:00
committed by
Nicolas Gallagher
parent
96dcce0261
commit
097cd31a90
@@ -36,7 +36,7 @@ function createTintColorSVG(tintColor, id) {
|
||||
<svg style={{ position: 'absolute', height: 0, visibility: 'hidden', width: 0 }}>
|
||||
<defs>
|
||||
<filter id={`tint-${id}`}>
|
||||
<feFlood floodColor={`${tintColor}`} />
|
||||
<feFlood floodColor={`${tintColor}`} key={tintColor} />
|
||||
<feComposite in2="SourceAlpha" operator="atop" />
|
||||
</filter>
|
||||
</defs>
|
||||
|
||||
Reference in New Issue
Block a user