/// import PropTypes from 'prop-types'; import type { Direction, EnhancedProps } from './types'; /** * Renders an individual clue, with its number. Makes use of `CrosswordContext` * to know whether to render as “highlighted” or not, and uses the theme to * provide the highlighting color. */ declare function Clue({ direction, number, children, complete, correct, ...props }: EnhancedProps): JSX.Element; declare namespace Clue { var propTypes: { /** direction of the clue: "across" or "down"; passed back in onClick */ direction: PropTypes.Validator; /** number of the clue (the label shown); passed back in onClick */ number: PropTypes.Validator; /** clue text */ children: PropTypes.Validator>; /** whether the answer/guess is complete */ complete: PropTypes.Requireable; /** whether the answer/guess is correct */ correct: PropTypes.Requireable; }; var defaultProps: { complete: undefined; correct: undefined; }; } export default Clue;