UNPKG

@jaredreisinger/react-crossword

Version:

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

26 lines (25 loc) 958 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>; /** a label to use instead of the (English) default */ label: PropTypes.Requireable<string>; }; export type DirectionCluesProps = EnhancedProps<typeof directionCluesPropTypes, { direction: Direction; }>; declare function DirectionClues({ direction, label, }: DirectionCluesProps): JSX.Element; declare namespace DirectionClues { var propTypes: { /** direction of this list of clues ("across" or "down") */ direction: PropTypes.Validator<string>; /** a label to use instead of the (English) default */ label: PropTypes.Requireable<string>; }; var defaultProps: { label: undefined; }; } export default DirectionClues;