Skip to content

Commit cf5b29e

Browse files
committed
Add explicit type for "data-testid"
1 parent 9b2d156 commit cf5b29e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/lib/src/LgIdProps/index.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,9 @@ export interface LgIdProps {
1010
* LG test id passed to the component wrapper.
1111
*/
1212
['data-lgid']?: LgIdString;
13+
14+
/**
15+
* An additional test id passed to the component wrapper, meant for use by consumers of the library.
16+
*/
17+
['data-testid']?: string;
1318
}

0 commit comments

Comments
 (0)