Skip to content

[Sistent] Add Table component to the Sistent components page #7607

@rishiraj38

Description

@rishiraj38

Current Behavior

Layer5 and it's projects use Sistent library to enable easy component reusability among our various projects.
One such component is Table.

Ideally, all sistent components are represented on https://layer5.io/projects/sistent/components, so a centralized usage and example documentation can be maintained. This will aid new developers to more quickly jump into contributing to the various projects.

The Table component currently needs this representation.

Desired Behavior

Proper documentation for Table component similar to Button component on https://layer5.io/projects/sistent/components.

The documentation should follow the new Sistent MDX documentation structure. This requires creating a new folder at src/collections/sistent/components/table/ with three distinct files:

  • index.mdx : Explanation of the function that the component serves in context of its usage (Overview).
  • guidance.mdx : Stylistic guidelines and best practices to be followed while using the component.
  • code.mdx : Code examples showing various states (basic table, sortable, selectable rows, paginated) using <ThemeWrapper> and <CodeBlock>.

Additionally, the component needs to be added to the Sistent side navigation by creating entries for all three tabs in src/components/SistentNavigation/content.js.


Contributor Resources and Handbook

The layer5.io website uses Gatsby, React, and GitHub Pages. Site content is found under the master branch.

Join the Layer5 Community by submitting your community member form.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions