box-ui-elements
Version:
Box UI Elements
9 lines (8 loc) • 351 B
TypeScript
import * as React from 'react';
import type { SortBy, SortDirection } from '../../../common/types/core';
export interface SortProps {
onSortChange: (sortBy: SortBy, sortDirection: SortDirection) => void;
portalElement?: HTMLElement;
}
declare const Sort: ({ onSortChange, portalElement }: SortProps) => React.JSX.Element;
export default Sort;