Skip to content

Commit 1452f71

Browse files
authored
1 parent 8d9a9d3 commit 1452f71

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

src/text.tsx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ export const Text10 = ({dataAttributes, forceMobileSizes, ...props}: TextPresetP
296296
<Text
297297
{...getTextSizes({forceMobileSizes, ...textProps.text10})}
298298
weight={textPresets.text10.weight}
299-
dataAttributes={{'component-name': 'Text10', ...dataAttributes}}
299+
dataAttributes={{'component-name': 'Text10', testid: 'Text10', ...dataAttributes}}
300300
{...props}
301301
/>
302302
);
@@ -308,7 +308,7 @@ export const Text9 = ({dataAttributes, forceMobileSizes, ...props}: TextPresetPr
308308
<Text
309309
{...getTextSizes({forceMobileSizes, ...textProps.text9})}
310310
weight={textPresets.text9.weight}
311-
dataAttributes={{'component-name': 'Text9', ...dataAttributes}}
311+
dataAttributes={{'component-name': 'Text9', testid: 'Text9', ...dataAttributes}}
312312
{...props}
313313
/>
314314
);
@@ -320,7 +320,7 @@ export const Text8 = ({dataAttributes, forceMobileSizes, ...props}: TextPresetPr
320320
<Text
321321
{...getTextSizes({forceMobileSizes, ...textProps.text8})}
322322
weight={textPresets.text8.weight}
323-
dataAttributes={{'component-name': 'Text8', ...dataAttributes}}
323+
dataAttributes={{'component-name': 'Text8', testid: 'Text8', ...dataAttributes}}
324324
{...props}
325325
/>
326326
);
@@ -332,7 +332,7 @@ export const Text7 = ({dataAttributes, forceMobileSizes, ...props}: TextPresetPr
332332
<Text
333333
{...getTextSizes({forceMobileSizes, ...textProps.text7})}
334334
weight={textPresets.text7.weight}
335-
dataAttributes={{'component-name': 'Text7', ...dataAttributes}}
335+
dataAttributes={{'component-name': 'Text7', testid: 'Text7', ...dataAttributes}}
336336
{...props}
337337
/>
338338
);
@@ -344,7 +344,7 @@ export const Text6 = ({dataAttributes, forceMobileSizes, ...props}: TextPresetPr
344344
<Text
345345
{...getTextSizes({forceMobileSizes, ...textProps.text6})}
346346
weight={textPresets.text6.weight}
347-
dataAttributes={{'component-name': 'Text6', ...dataAttributes}}
347+
dataAttributes={{'component-name': 'Text6', testid: 'Text6', ...dataAttributes}}
348348
{...props}
349349
/>
350350
);
@@ -356,7 +356,7 @@ export const Text5 = ({dataAttributes, forceMobileSizes, ...props}: TextPresetPr
356356
<Text
357357
{...getTextSizes({forceMobileSizes, ...textProps.text5})}
358358
weight={textPresets.text5.weight}
359-
dataAttributes={{'component-name': 'Text5', ...dataAttributes}}
359+
dataAttributes={{'component-name': 'Text5', testid: 'Text5', ...dataAttributes}}
360360
{...props}
361361
/>
362362
);
@@ -366,7 +366,7 @@ export const Text4 = ({dataAttributes, forceMobileSizes, ...props}: LightRegular
366366
<Text
367367
{...getTextSizes({forceMobileSizes, ...textProps.text4})}
368368
weight={getWeight(props)}
369-
dataAttributes={{'component-name': 'Text4', ...dataAttributes}}
369+
dataAttributes={{'component-name': 'Text4', testid: 'Text4', ...dataAttributes}}
370370
{...props}
371371
/>
372372
);
@@ -375,7 +375,7 @@ export const Text3 = ({dataAttributes, forceMobileSizes, ...props}: LightRegular
375375
<Text
376376
{...getTextSizes({forceMobileSizes, ...textProps.text3})}
377377
weight={getWeight(props)}
378-
dataAttributes={{'component-name': 'Text3', ...dataAttributes}}
378+
dataAttributes={{'component-name': 'Text3', testid: 'Text3', ...dataAttributes}}
379379
{...props}
380380
/>
381381
);
@@ -384,7 +384,7 @@ export const Text2 = ({dataAttributes, forceMobileSizes, ...props}: RegularMediu
384384
<Text
385385
{...getTextSizes({forceMobileSizes, ...textProps.text2})}
386386
weight={getWeight(props)}
387-
dataAttributes={{'component-name': 'Text2', ...dataAttributes}}
387+
dataAttributes={{'component-name': 'Text2', testid: 'Text2', ...dataAttributes}}
388388
{...props}
389389
/>
390390
);
@@ -393,7 +393,7 @@ export const Text1 = ({dataAttributes, forceMobileSizes, ...props}: RegularMediu
393393
<Text
394394
{...getTextSizes({forceMobileSizes, ...textProps.text1})}
395395
weight={getWeight(props)}
396-
dataAttributes={{'component-name': 'Text1', ...dataAttributes}}
396+
dataAttributes={{'component-name': 'Text1', testid: 'Text1', ...dataAttributes}}
397397
{...props}
398398
/>
399399
);

0 commit comments

Comments
 (0)