Skip to content

Where is the source code of the DataTable with OverflowMenu storybook? #9643

Answered by tay1orjones
nigellima asked this question in Help
Discussion options

You must be logged in to vote

Hey @nigellima, sorry for the confusion. I think it's this one?

export const WithOverflowMenu = () => (
<DataTable rows={rows} headers={headers} {...props()}>
{({ rows, headers, getHeaderProps, getRowProps, getTableProps }) => (
<TableContainer title="DataTable" description="With overflow menu">
<Table {...getTableProps()}>
<TableHead>
<TableRow>
{headers.map((header) => (
<TableHeader key={header.key} {...getHeaderProps({ header })}>
{header.header}
</TableHeader>
))}
<TableHeader />
</TableRow>
</TableHead>
<T…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nigellima
Comment options

Answer selected by tw15egan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants