import React from 'react'; import PropTypes from 'prop-types'; import { ComponentProps } from '../utils/types'; interface CellPropsBase { 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 CellProps = ComponentProps; declare function Cell({ children, elementRef, ...otherProps }: CellProps): React.JSX.Element; declare namespace Cell { var propTypes: { children: PropTypes.Requireable; elementRef: PropTypes.Requireable; }; } export default Cell; export type { CellPropsBase };