UNPKG

react-crossword-v2

Version:

A flexible, responsive, and easy-to-use crossword component for React apps

20 lines (19 loc) 717 B
/// <reference types="react" /> import PropTypes from 'prop-types'; import type { Direction, EnhancedProps } from './types'; declare const directionCluesPropTypes: { /** direction of this list of clues ("across" or "down") */ direction: PropTypes.Validator<string>; }; export declare type DirectionCluesProps = EnhancedProps<typeof directionCluesPropTypes, { direction: Direction; }>; declare function DirectionClues({ direction }: DirectionCluesProps): JSX.Element; declare namespace DirectionClues { var propTypes: { /** direction of this list of clues ("across" or "down") */ direction: PropTypes.Validator<string>; }; var defaultProps: {}; } export default DirectionClues;