UNPKG

react-typing-test

Version:

A react component typing test, user input and wpm calculations.

17 lines (16 loc) 543 B
import React from "react"; type StyledWordProps = { isActive?: boolean; isCorrect: boolean | null; }; export declare const StyledWord: import("styled-components").StyledComponent<"span", any, StyledWordProps, never>; export type WordProps = { word: string; wordIndex: number; index: number; targetWord: string; currentWord: string; typedWords: string[]; }; export declare const Word: ({ wordIndex, targetWord, currentWord, typedWords, word, index, }: WordProps) => React.JSX.Element; export {};