UNPKG

@carbon/react

Version:

React components for the Carbon Design System

20 lines (17 loc) 487 B
/** * Copyright IBM Corp. 2016, 2023 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ /** * We currently support the following sorting states for DataTable headers, * namely: `NONE` for no sorting being applied, and then `DESC` and `ASC` for * the corresponding direction of the sorting order. */ const sortStates = { NONE: 'NONE', DESC: 'DESC', ASC: 'ASC' }; export { sortStates };