The Table Row is nested inside the Table component. For each item in the array of data passed to the Table, a Table Row will be rendered.
Inside the Table, you can nest Table Row components. These have some of their own Config props to further customize padding and border. You can also set a Table Row to be the header for the Table.
Inside the Table Row you can nest the Table Cells. These components have most of the same style props as a View in addition to some Config props for the border.
Some prop values are passed down the child tree. For example, when you set the Border Width prop on the Table, that will be applied to all Table Rows and Cells. This value can then be overridden at the Row level or the Cell level. The props that have this effect are described as such in the prop descriptions.
Style properties allow you to customize the look and feel of the component. Combinations of styles applied to components can be saved as Stylesheets to easily reuse styles throughout your app. Styles can also be set dynamically using Variables. To learn more about all the different styling properties and how they work, take a look at Intro to Styling.
|The name of the component as it appears in the Screen's component tree
|Whether this row is a header or not (changes background and sticks while scrolling)
|Specifies the color of the border. Passed down to child Table(Row/Cell) components unless overridden
|Specifies the style of the border. Passed down to child Table(Row/Cell) components unless overridden
|Draw top border
|Whether to draw the top border at this layer of the Table tree or not
|Draw end border
|Whether to draw the end border at this layer of the Table tree or not
|Draw start border
|Whether to draw the start border at this layer of the Table tree or not
|Draw bottom border
|Whether to draw the bottom border at this layer of the Table tree or not
|Cell vertical padding
|Specifies the vertical padding of the cell. Passed down to TableCell components unless overridden
|Specifies the width of the border. Passed down to child Table(Row/Cell) components unless overridden
|Cell horizontal padding
|Specifies the horizontal padding of the cell. Passed down to TableCell components unless overridden
You can conditionally display a component based on a given condition. Learn more about conditionally displaying components in the Conditional Display doc.
|Runs the Actions when the element is pressed
Updated 6 days ago