MCPcopy Create free account
hub / github.com/elastic/eui / getRowProps

Function getRowProps

packages/eui/src/components/basic_table/basic_table.tsx:135–144  ·  view source on GitHub ↗
(item: T, rowProps: RowPropsCallback<T>)

Source from the content-addressed store, hash-verified

133}
134
135function getRowProps<T>(item: T, rowProps: RowPropsCallback<T>) {
136 if (rowProps) {
137 if (isFunction(rowProps)) {
138 return rowProps(item);
139 }
140 return rowProps;
141 }
142
143 return {};
144}
145
146function getCellProps<T extends object>(
147 item: T,

Callers 1

renderItemRowMethod · 0.85

Calls 1

isFunctionFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…