UNPKG

@veracity/vui

Version:

Veracity UI is a React component library crafted for use within Veracity applications and pages. Based on Styled Components and @xstyled.

11 lines (10 loc) 414 B
import { Sort } from "../utils/types.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