tw-table
Version:
table designed with tailwind and tanstack-table.
16 lines (15 loc) • 508 B
TypeScript
import React from 'react';
import { Table } from '@tanstack/react-table';
declare type Props<TData> = {
table: Table<TData>;
forceHidden?: boolean;
forceShow?: boolean;
};
/**
* Renders a mobile version of the table filter.
*
* @param props - The component props.
* @returns The rendered mobile table filter.
*/
declare const TableToolbarMobile: <TData extends object>({ table, forceHidden, forceShow, }: Props<TData>) => React.JSX.Element;
export default TableToolbarMobile;