Skip to main content

Table

this is main component

import Table from 'bear-react-table';

<Table
{/*...ignore some */}
/>

Props

Props NameTypeRequiredDefaultDescription
styleCSS.Properties
classNamestring
childrenReactNode
isDarkboolean
isFetchingboolean
titleTTableTitle<K>
dataITableBody<K,I>[]
footerTFooter<K>
headerLineHeightTLineHeight
bodyLineHeightTLineHeight
footerLineHeightTLineHeight
cellLineHeightTLineHeight
gapstring
paginateInfoIPaginateInfo
paginateMetaIPaginateMeta
isVisibleHeaderboolean
isVisiblePaginateboolean
isEnableHoverboolean
isEnableChangePageScrollTopboolean
isStickyHeaderboolean
tableCellMediaSizenumber
onChangePageTOnChangePage
pageLimitOptionsnumber[]
renderNoData() => JSX.Element