import { ActionIcon, type ActionIconProps, Menu, Tooltip } from '@mantine/core'; import { MRT_ShowHideColumnsMenu } from '../menus/MRT_ShowHideColumnsMenu'; import { type HTMLPropsRef, type MRT_TableInstance } from '../types'; interface Props = {}> extends ActionIconProps, HTMLPropsRef { table: MRT_TableInstance; } export const MRT_ShowHideColumnsButton = < TData extends Record = {}, >({ table, ...rest }: Props) => { const { options: { icons: { IconColumns }, localization, }, } = table; return ( ); };