menu component inside a table #1130
-
is there a recommended way to use the menu component inside a table? Using the same useMenuState hook value for each instance doesn’t seem to work |
Beta Was this translation helpful? Give feedback.
Answered by
richbachman
Jan 28, 2021
Replies: 1 comment
-
Hi @cfree thanks for posting this question. We should probably add an example to Table docs that's showing that. We do have an example in our storybook here: https://twilio-labs.github.io/paste/?path=/story/components-table--table-layout-fixed-table We're just repeating a single menu there, but it should also work with multiple menus.
Let us know if that helps. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
cfree
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @cfree thanks for posting this question. We should probably add an example to Table docs that's showing that. We do have an example in our storybook here: https://twilio-labs.github.io/paste/?path=/story/components-table--table-layout-fixed-table
We're just repeating a single menu there, but it should also work with multiple menus.
Let us know if that helps.