DataTable.Title

Props

children (required)
Type: React.ReactNode

Text content of the DataTableTitle.

numeric
Type: boolean

Align the text to the right. Generally monetary or number fields are aligned to right.

sortDirection
Type: 'ascending' | 'descending'

Direction of sorting. An arrow indicating the direction is displayed when this is given.

numberOfLines
Type: number
Default value: 1

The number of lines to show.

onPress
Type: () => void

Function to execute on press.

style
Type: StyleProp<ViewStyle>
theme
Type: Theme