import {type ActionIconProps, Button, Menu} 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: {IconChevronDown}, localization, }, } = table; return ( ); };