Spaces:
Build error
Build error
Upload ExampleQuestions.jsx
Browse files
public/elements/ExampleQuestions.jsx
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
export default function ExampleQuestions() {
|
| 2 |
+
return (
|
| 3 |
+
<table style={{ width: '80%', backgroundColor: '#1e1e1e', color: 'white', borderRadius: '8px', padding: '10px' }}>
|
| 4 |
+
<tbody>
|
| 5 |
+
<tr>
|
| 6 |
+
<td>
|
| 7 |
+
<strong>Eksempler pรฅ spรธrsmรฅl:</strong>
|
| 8 |
+
<ul>
|
| 9 |
+
{props.questions.map((question, index) => (
|
| 10 |
+
<li key={index}>{question}</li>
|
| 11 |
+
))}
|
| 12 |
+
</ul>
|
| 13 |
+
</td>
|
| 14 |
+
</tr>
|
| 15 |
+
</tbody>
|
| 16 |
+
</table>
|
| 17 |
+
);
|
| 18 |
+
}
|