Skip to content

Commit 9cc8a65

Browse files
committed
fix: resolve table docs build error
Signed-off-by: Soham Babrekar <soham.babrekar@gmail.com>
1 parent ecdae40 commit 9cc8a65

File tree

1 file changed

+15
-17
lines changed
  • src/collections/sistent/components/table

1 file changed

+15
-17
lines changed

src/collections/sistent/components/table/index.mdx

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,19 @@ component: table
66
description: A table is used to organize and display structured data in rows and columns.
77
---
88

9-
import Table from "../../../../components/ConformanceTest-Table"
10-
119
Tables are used to present structured data in a clear and organized way. They help users scan information quickly, compare values, and understand relationships between data.
1210

13-
<a id="Types">
14-
<h2>Types</h2>
15-
</a>
11+
<a id="Types"></a>
12+
13+
## Types
1614

1715
Different types of tables help present information based on use cases and data complexity.
1816

19-
<h3>Basic Table</h3>
17+
### Basic Table
2018

2119
Basic tables are used to display structured data in rows and columns.
2220

23-
<Table>
21+
<table>
2422
<thead>
2523
<tr>
2624
<th>Name</th>
@@ -35,13 +33,13 @@ Basic tables are used to display structured data in rows and columns.
3533
<td>Active</td>
3634
</tr>
3735
</tbody>
38-
</Table>
36+
</table>
3937

40-
<h3>Striped Table</h3>
38+
### Striped Table
4139

4240
Striped tables improve readability by alternating row colors.
4341

44-
<Table striped>
42+
<table>
4543
<thead>
4644
<tr>
4745
<th>Name</th>
@@ -54,11 +52,11 @@ Striped tables improve readability by alternating row colors.
5452
<td>Contributor</td>
5553
</tr>
5654
</tbody>
57-
</Table>
55+
</table>
5856

59-
<a id="Usage">
60-
<h2>Usage</h2>
61-
</a>
57+
<a id="Usage"></a>
58+
59+
## Usage
6260

6361
Tables should be used when:
6462

@@ -67,9 +65,9 @@ Tables should be used when:
6765
- Showing logs or metrics
6866
- Listing users or resources
6967

70-
<a id="Best Practices">
71-
<h2>Best Practices</h2>
72-
</a>
68+
<a id="Best Practices"></a>
69+
70+
## Best Practices
7371

7472
Best practices for using tables:
7573

0 commit comments

Comments
 (0)