/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ import { SortDescriptor } from '@progress/kendo-data-query'; import { GridColumnMenuSortBaseProps } from '../interfaces/GridColumnMenuSortBaseProps'; import * as React from 'react'; /** * Can be used to check if sorting is applied to a specific field ([see example](https://www.telerik.com/kendo-react-ui/components/grid/columns/column-menu#toc-styling-the-column-menu-icon)). Useful for creating active sort indicators. */ export declare const isColumnMenuSortActive: (field: string, sort?: SortDescriptor[]) => boolean; /** * The props of the GridColumnMenuSort component. */ export interface GridColumnMenuSortProps extends GridColumnMenuSortBaseProps { } /** * @example * ```jsx-no-run * const ColumnMenu = (props) => { * return ( *
* *
* ); * }; * * const initialState = { * take: 10, * skip: 0 * }; * * const App = () => { * const [dataState, setDataState] = useState(initialState); * const [result, setResult] = useState(process(products.slice(0), initialState)); * * const dataStateChange = (event) => { * setDataState(event.dataState); * setResult(process(products.slice(0), event.dataState)); * }; * * return ( *
*
* * * * *
*
*
* ); * }; * * export default App; * ``` */ export declare const GridColumnMenuSort: (props: GridColumnMenuSortProps) => React.JSX.Element;