Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor(props: Props) {
super(props);
}
static defaultProps = {
defaultSortMethod: collator.compare,
striped: false,
tableSize: 'md',
theme: Themes.defaultTheme,
minRows: 0,
defaultPageSize: 10,
resizable: false,
PaginationComponent: Pagination,
nextText: 'Next >',
previousText: '< Previous',
getTdProps: ReactTableDefaults.getTdProps,
getTrProps: ReactTableDefaults.getTrProps,
showPageSizeOptions: true,
};
render() {
const { data, getTdProps, getTrProps, theme, ...props } = this.props;
debugger;
return (
outerTheme || theme}>
{
let className = '';
if (
rowInfo &&
rowInfo.nestingPath.length === 1 &&