Disclosable tables collapse content related to individual rows and can be expanded by clicking a disclose arrow to reveal additional information inline.
Example
⌘ Cmd + ⌥ Option + 1
Properties
"Table.TH" Component
property | propType | required | default | description |
---|---|---|---|---|
isCollapsed | bool | - | false | Tell the cell to take up the least amount of width possible. This only works well if the table layout is `auto`, not `fixed`. |
isNumerical | bool | - | false | Right-align the cell if the contents are numerical |
children | node | - | - | Content within the `Table.TH` component |
colSpan | number | - | - | Number of columns that the cell should span |
testSection | string | - | - | Hook for automated JavaScript tests |
width | string | - | - | A number with a unit that becomes the width of the `Table` cell |