MCPcopy Create free account
hub / github.com/callstack/react-native-paper / getTableHeader

Function getTableHeader

docs/src/components/ThemeColorsTable.tsx:16–18  ·  view source on GitHub ↗
(keys: string[])

Source from the content-addressed store, hash-verified

14} from '../utils/themeColors';
15
16const getTableHeader = (keys: string[]): ReactNode[] => {
17 return keys.map((key) => <th key={key}>{key}</th>);
18};
19
20const getTableCell = (keys: string[], modes: DataObject): ReactNode[] => {
21 return keys.map((key) => {

Callers 2

FlatTableFunction · 0.85
TabbedTableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…