-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathexampleApp.component.tsx
42 lines (40 loc) · 1.21 KB
/
exampleApp.component.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
import React from "react";
const ExampleAppComponent = () => {
return (
<main>
<h1>Example file to show data-test-id assigning</h1>
<aside>
<table>
<thead>
<th>column 1</th>
<th>column 2</th>
</thead>
<tbody>
<tr>
<td>val 10 € 20 ¢</td>
<td>val 1 £ 98 ¢</td>
</tr>
<tr>
<td>val 20 € 40 ¢</td>
<td>val 1 £ 99 ¢</td>
</tr>
</tbody>
</table>
</aside>
<form>
<img src="" alt="profile picture"/>
<input type="text" name="name">
<label> name</label>
</input>
<label for="date-input">Birth date</label>
<input id="date-input" type="date" name="birth date" data-test-id="example-app.component--input-3" />
<input id="date-input" type="date" name="birth date" data-test-id="example-app.component--input-1" />
<input id="date-input" type="date" name="birth date" />
<button type="submit">submit form</button>
</form>
</main>
);
};
export default ExampleAppComponent;