Skip to content

Commit c0831e0

Browse files
committed
Fix table documentation
Signed-off-by: Soham Babrekar <soham.babrekar@gmail.com>
1 parent 8cf3b90 commit c0831e0

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ component: table
44
description: Tables are used to organize and display structured data in rows and columns.
55
---
66

7+
import Table from "../../../../components/ConformanceTest-Table"
8+
import ThemeWrapper from "../../../../components/ThemeWrapper"
9+
import CodeBlock from "../../../../components/CodeBlock"
10+
711
Tables help display structured data in an organized and readable format.
812

913
<a id="Basic Table">

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

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ description: A table is used to organize and display structured data in rows and
88

99
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.
1010

11-
<a id="Types"></a>
12-
1311
## Types
1412

1513
Different types of tables help present information based on use cases and data complexity.
@@ -54,8 +52,6 @@ Striped tables improve readability by alternating row colors.
5452
</tbody>
5553
</table>
5654

57-
<a id="Usage"></a>
58-
5955
## Usage
6056

6157
Tables should be used when:
@@ -65,8 +61,6 @@ Tables should be used when:
6561
- Showing logs or metrics
6662
- Listing users or resources
6763

68-
<a id="Best Practices"></a>
69-
7064
## Best Practices
7165

7266
Best practices for using tables:
@@ -75,4 +69,4 @@ Best practices for using tables:
7569
- Avoid too many columns
7670
- Keep rows readable
7771
- Use pagination for large datasets
78-
- Maintain consistent spacing
72+
- Maintain consistent spacing

0 commit comments

Comments
 (0)