@veracity/vui
Version:
Veracity UI is a React component library crafted for use within Veracity applications and pages. Based on Styled Components and @xstyled.
15 lines (14 loc) • 449 B
TypeScript
import { Sort } from "../utils/types.js";
import "../utils/index.js";
//#region src/table/useTable.types.d.ts
type UseTableProps = {
/** Initial sort value in uncontrolled mode. */
defaultSort?: Sort;
/** Callback called with updated value when sort changes. */
onSortChange?: (sort: Sort) => void;
/** Sort value in controlled mode. */
sort?: Sort;
};
//#endregion
export { UseTableProps };
//# sourceMappingURL=useTable.types.d.ts.map