Skip to content

Commit 1e0abde

Browse files
pruthvipMinishlink
authored andcommitted
Add support for attaching testID
Add support for attaching testID for linear gradient. The format is similar to followed in RNW.
1 parent 985ebf0 commit 1e0abde

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ export default class LinearGradient extends PureComponent {
5656
this.props.style,
5757
{ backgroundImage: `linear-gradient(${this.getAngle()},${this.getColors()})` },
5858
]}
59+
testID={this.props.testID}
5960
onLayout={this.measure}
6061
>
6162
{this.props.children}

0 commit comments

Comments
 (0)