Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 58 additions & 0 deletions src/collections/sistent/components/table/code.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
---
title: Code
---

# Table Examples

## Basic Table

<ThemeWrapper>
<CodeBlock>

```jsx
<Table>
<thead>
<tr>
<th>Name</th>
<th>Status</th>
</tr>
</thead>
<tbody>
<tr>
<td>Example</td>
<td>Active</td>
</tr>
</tbody>
</Table>
```

</CodeBlock>
</ThemeWrapper>

## Sortable Table

<ThemeWrapper>
<CodeBlock>

```jsx
<Table sortable>
...
</Table>
```

</CodeBlock>
</ThemeWrapper>

## Paginated Table

<ThemeWrapper>
<CodeBlock>

```jsx
<Table pagination>
...
</Table>
```

</CodeBlock>
</ThemeWrapper>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where is the code ?

Empty file.
18 changes: 18 additions & 0 deletions src/collections/sistent/components/table/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
title: Table
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn’t right; we have more fields here.

---

# Table

The Table component is used to display structured data in rows and columns in a clear and organized manner.

## Overview

Tables are commonly used to present:

- Lists of data
- Metrics and statistics
- Logs and records
- Configuration details

The Table component in Sistent supports features like sorting, pagination, and selectable rows, making it useful for handling structured datasets across Layer5 projects.
4 changes: 4 additions & 0 deletions src/components/SistentNavigation/content.js
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This navigation is also incorrect.

Original file line number Diff line number Diff line change
Expand Up @@ -160,4 +160,8 @@ export const content = [
{ id: 118, link: "/projects/sistent/components/tooltip", text: "Tooltip" },
{ id: 119, link: "/projects/sistent/components/tooltip/guidance", text: "Tooltip" },
{ id: 120, link: "/projects/sistent/components/tooltip/code", text: "Tooltip" },

{ id: 121, link: "/projects/sistent/components/table", text: "Table" },
{ id: 122, link: "/projects/sistent/components/table/guidance", text: "Table" },
{ id: 123, link: "/projects/sistent/components/table/code", text: "Table" },
];
Loading