UNPKG

@progress/kendo-react-grid

Version:

React Data Grid (Table) provides 100+ ready-to-use data grid features. KendoReact Grid package

56 lines (55 loc) 1.65 kB
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ import { SVGIcon } from '@progress/kendo-svg-icons'; export interface GridToolbarSortProps { /** * Defines the icon rendered in the GridToolbarSort tool ([see example](https://www.telerik.com/kendo-react-ui/components/common/icon)). * * @example * ```jsx * <GridToolbarSort icon="home" /> * ``` */ icon?: string; /** * Defines the SVG icon rendered in the GridToolbarSort tool ([see example](https://www.telerik.com/kendo-react-ui/components/common/svgicon)). * * @example * ```jsx * import { gearIcon } from '@progress/kendo-svg-icons'; * * <GridToolbarSort svgIcon={gearIcon} /> * ``` */ svgIcon?: SVGIcon; /** * Specifies if the popup will be displayed. * * @example * ```jsx * <GridToolbarSort show={true} /> * ``` */ show?: boolean; /** * The method that will be called to close the column menu. * * @example * ```jsx * <GridToolbarSort onCloseMenu={() => console.log('close menu');} /> * ``` */ onCloseMenu?: Function; } /** * Represents the GridToolbarSort component. */ export declare const GridToolbarSort: { (props: GridToolbarSortProps): any; displayName: string; };