-
Notifications
You must be signed in to change notification settings - Fork 1.5k
feat(sistent): add Table component documentation #7610
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 1 commit
9b7a07a
582b087
80b1c6b
dc803e0
35314b3
af3e946
a4499a3
ecdae40
9cc8a65
b4394e7
00eba17
8cf3b90
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| 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> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| --- | ||
| title: Table | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
where is the code ?