Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
6 changes: 6 additions & 0 deletions src/components/Table/Table.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ const meta: Meta<typeof Table> = {
component: Table,
parameters: {
layout: 'centered',
docs: {
description: {
component:
'> 💡 **Prefer [DataVis NITRO](?path=/docs/components-text-data-display-datavis-nitro--docs) in most cases.** NITRO is designed to be simple out of the box while exposing power-user features for the click-curious — use `Table` only in lightweight situations where that overhead is genuinely unneeded.',
},
},
},
tags: ['autodocs'],
argTypes: {
Expand Down
4 changes: 4 additions & 0 deletions src/components/Table/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ export interface TableProps extends React.TableHTMLAttributes<HTMLTableElement>
/**
* An accessible table component.
*
* Prefer DataVis NITRO in most cases -- it is designed to be simple out of the box while
* exposing power-user features for click-curious users. Use `Table` only in lightweight
* situations where that overhead is genuinely unneeded.
*
* @example
* ```tsx
* <Table>
Expand Down
Loading