/// import PropTypes from 'prop-types'; import type { UsedCellData, EnhancedProps } from './types'; declare const cellPropTypes: { /** the data specific to this cell */ cellData: PropTypes.Validator; col: PropTypes.Validator; guess: PropTypes.Requireable; number: PropTypes.Requireable; answer: PropTypes.Requireable; }>>>; /** whether this cell has focus */ focus: PropTypes.Requireable; /** whether this cell is highlighted */ highlight: PropTypes.Requireable; /** handler called when the cell is clicked */ onClick: PropTypes.Requireable<(...args: any[]) => any>; }; export type CellProps = EnhancedProps void; }>; /** * An individual-letter answer cell within the crossword grid. * * A `Cell` lives inside the SVG for a * [`CrosswordGrid`](#/Complex%20layouts/CrosswordGrid), and renders at a * position determined by the `row`, `col`, and `cellSize` properties from * `cellData` and `renderContext`. */ declare function Cell({ cellData, onClick, focus, highlight, }: CellProps): JSX.Element; declare namespace Cell { var propTypes: { /** the data specific to this cell */ cellData: PropTypes.Validator; col: PropTypes.Validator; guess: PropTypes.Requireable; number: PropTypes.Requireable; answer: PropTypes.Requireable; }>>>; /** whether this cell has focus */ focus: PropTypes.Requireable; /** whether this cell is highlighted */ highlight: PropTypes.Requireable; /** handler called when the cell is clicked */ onClick: PropTypes.Requireable<(...args: any[]) => any>; }; var defaultProps: { focus: boolean; highlight: boolean; onClick: null; }; } export default Cell;