carbon icon indicating copy to clipboard operation
carbon copied to clipboard

[Feature Request]: Fix DataTable documentation

Open neathery opened this issue 1 year ago • 1 comments

The problem

In the @carbon/react documentation for DataTables, the overview page (https://react.carbondesignsystem.com/?path=/docs/components-datatable-basic--overview) has several examples that you can select "Show Code", but the code snippet shown is the same for every example. So for example, the Toolbar example does not actually show the code for implementing the Toolbar.

The solution

Provide the correct code snippets.

Examples

No response

Application/PAL

No response

Business priority

None

Available extra resources

No response

Code of Conduct

neathery avatar Jun 28 '24 17:06 neathery

Thank you for submitting a feature request. Your proposal is open and will soon be triaged by the Carbon team.

If your proposal is accepted and the Carbon team has bandwidth they will take on the issue, or else request you or other volunteers from the community to work on this issue.

github-actions[bot] avatar Jun 28 '24 17:06 github-actions[bot]

When migrating from:

<Canvas id="components-datatable-sorting--default" />

to:

<Canvas of={DataTableBasicStories.Default} />

It causes this error below on Datatable. Notification component has the same issue.

Image

guidari avatar Jan 08 '25 20:01 guidari