@@ -184,6 +184,8 @@ The configuration file is an XML document containing <pages> as the root element
184
184
```
185
185

186
186
187
+ _React Code_ - [`HeoSection.jsx`](src/main/resources/templates/react/components/HeroSection.jsx) | _Default Styling_ - [`Herosection.css`](src/main/resources/templates/css/components/HeroSection.css)
188
+
187
189
ii. `Button` [Root/Child]
188
190
- A button that supports various actions triggered on a click event.
189
191
- **Functionality:**
@@ -232,7 +234,9 @@ The configuration file is an XML document containing <pages> as the root element
232
234
</component>
233
235
```
234
236
235
- 
237
+ 
238
+
239
+ _React Code_ - [`Button.jsx`](src/main/resources/templates/react/components/Button.jsx) | _Default Styling_ - [`Button.css`](src/main/resources/templates/css/components/Button.css)
236
240
237
241
iii. `Container` [Root/Child]
238
242
- A **data-fetching** component that retrieves and displays information from a backend API or LocalStorage
@@ -272,6 +276,7 @@ The configuration file is an XML document containing <pages> as the root element
272
276
</result>
273
277
</component>
274
278
```
279
+ _React Code_ - [`Container.jsx`](src/main/resources/templates/react/components/Container.jsx) | _Default Styling_ - [`Container.css`](src/main/resources/templates/css/components/Container.css)
275
280
276
281
iv. `Form` [Root]
277
282
- A form based on URL parameters and schema properties defined in an OpenAPI Specification (OAS) resource.
@@ -294,6 +299,8 @@ The configuration file is an XML document containing <pages> as the root element
294
299
```
295
300

296
301
302
+ _React Code_ - [`Form.jsx`](src/main/resources/templates/react/components/Form.jsx) | _Default Styling_ - [`Form.css`](src/main/resources/templates/css/components/Form.css)
303
+
297
304
v. `SearchBar` [Root/Child]
298
305
- A search bar component that fetches data from a specified resource.
299
306
- **Functionality:**
@@ -310,9 +317,10 @@ The configuration file is an XML document containing <pages> as the root element
310
317
</component>
311
318
</result>
312
319
</component >
313
-
314
320
```
315
321
322
+ _React Code_ - [`SearchBar.jsx`](src/main/resources/templates/react/components/SearchBar.jsx) | _Default Styling_ - [`SearchBar.css`](src/main/resources/templates/css/components/SearchBar.css)
323
+
316
324
vi. `CardSection` [Result]
317
325
- Displays a list of cards, where each card contains an **image**, **a title**, and **a description** related to an item.
318
326
- **Functionality:**
@@ -329,6 +337,8 @@ The configuration file is an XML document containing <pages> as the root element
329
337
```
330
338

331
339
340
+ _React Code_ - [`CardSection.jsx`](src/main/resources/templates/react/components/CardSection.jsx) | _Default Styling_ - [`CardSection.css`](src/main/resources/templates/css/components/CardSection.css)
341
+
332
342
vii. `Card` [Result]
333
343
- Displays an image, a title, a description, and additional data in a structured format.
334
344
- **Functionality:**
@@ -352,6 +362,8 @@ The configuration file is an XML document containing <pages> as the root element
352
362
```
353
363

354
364
365
+ _React Code_ - [`Card.jsx`](src/main/resources/templates/react/components/Card.jsx) | _Default Styling_ - [`Card.css`](src/main/resources/templates/css/components/Card.css)
366
+
355
367
viii. `Alert` [Result]
356
368
- Displays success or failure messages based on the API response.
357
369
- **Functionality:**
@@ -365,6 +377,8 @@ The configuration file is an XML document containing <pages> as the root element
365
377
```
366
378

367
379
380
+ _React Code_ - [`Alert.jsx`](src/main/resources/templates/react/components/Alert.jsx) | _Default Styling_ - [`Alert.css`](src/main/resources/templates/css/components/Alert.css)
381
+
368
382
ix. `Table` [Result]
369
383
- Displays data in a structured tabular format.
370
384
- **Functionality:**
@@ -393,6 +407,8 @@ The configuration file is an XML document containing <pages> as the root element
393
407
```
394
408

395
409
410
+ _React Code_ - [`Table.jsx`](src/main/resources/templates/react/components/Table.jsx) | _Default Styling_ - [`Table.css`](src/main/resources/templates/css/components/Table.css)
411
+
396
412
4. Properties Tags
397
413
398
414
i. `<resource>` : Defines an API resource to be accessed by the component.
0 commit comments