@appbuckets/react-ui
Version:
Just Another React UI Framework
15 lines (14 loc) • 468 B
TypeScript
import * as React from 'react';
import { ShorthandItem } from '@appbuckets/react-ui-core';
import { TableCellContentProps } from '../../Table';
import { ComputedCellContentField } from '../RxTable.types';
export default function useCellElementContent<Data>(
content: undefined | null | ComputedCellContentField<Data>,
row: Data,
rowIndex: number,
data: Data[]
):
| ShorthandItem<TableCellContentProps>
| TableCellContentProps
| React.ReactNode
| null;