MCPcopy Index your code
hub / github.com/adobe/react-spectrum / sort

Method sort

packages/react-stately/src/table/useTableState.ts:62–62  ·  view source on GitHub ↗

Calls the provided onSortChange handler with the provided column key and sort direction.

(columnKey: Key, direction?: 'ascending' | 'descending')

Source from the content-addressed store, hash-verified

60 sortDescriptor: SortDescriptor | null;
61 /** Calls the provided onSortChange handler with the provided column key and sort direction. */
62 sort(columnKey: Key, direction?: 'ascending' | 'descending'): void;
63 /**
64 * Whether keyboard navigation is disabled, such as when the arrow keys should be handled by a
65 * component within a cell.

Callers 15

buildPersistedIndicesMethod · 0.65
getCachedDateFormatterFunction · 0.65
getCachedNumberFormatterFunction · 0.65
getCachedNumberParserFunction · 0.65
getSymbolsFunction · 0.65
listFilesFunction · 0.65
copyFixtureProjectFunction · 0.65
fixFunction · 0.65
insertObjectFunction · 0.65
buildPageIndexFunction · 0.65

Calls

no outgoing calls

Tested by 2

listFilesFunction · 0.52
copyFixtureProjectFunction · 0.52