/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ import { GridHeaderCellProps } from '../interfaces/GridHeaderCellProps'; import * as React from 'react'; /** * @example * ```jsx * const App = () => { * const [data, setData] = useState([ * { foo: 'A1', bar: 'B1', b1: 1, b2: 2 }, * { foo: 'A2', bar: 'B2', b1: 3, b2: 4 }, * { foo: 'A3', bar: 'B2', b1: 5, b2: 6 } * ]); * const [barDetails, setBarDetails] = useState(false); * * const CustomHeaderCell = (props: CustomCellProps) => ( *