import React from 'react'; import PropTypes from 'prop-types'; import { ComponentProps } from '../utils/types'; interface HeadCellPropsBase { children?: React.ReactNode; /** * A React ref which is set to the cell DOM element when the component mounts and null when it unmounts. */ elementRef?: React.Ref; } type HeadCellProps = ComponentProps; declare function HeadCell({ children, elementRef, ...otherProps }: HeadCellProps): React.JSX.Element; declare namespace HeadCell { var propTypes: { children: PropTypes.Requireable; elementRef: PropTypes.Requireable; }; } export default HeadCell; export type { HeadCellPropsBase };