hightable
Version:
A dynamic windowed scrolling table component for react
19 lines (18 loc) • 584 B
TypeScript
import { Direction } from '../../helpers/sort';
interface ColumnMenuProps {
columnName: string;
isOpen: boolean;
position: {
left: number;
top: number;
};
direction?: Direction;
sortable?: boolean;
toggleOrderBy?: () => void;
hideColumn?: () => void;
showAllColumns?: () => void;
close: () => void;
id?: string;
}
export default function ColumnMenu({ columnName, isOpen, position, direction, sortable, toggleOrderBy, hideColumn, showAllColumns, close, id, }: ColumnMenuProps): import("react").ReactPortal | null;
export {};