UNPKG

react-tetris2

Version:

Classic Tetris game as a reusable React 18+ component, fully typed with TypeScript and controllable via ref.

20 lines 700 B
/** * A reusable centered modal container. * * @remarks * - Absolutely positioned in the viewport center. * - Semi‐transparent dark background with rounded corners and drop shadow. * - Constrains its width to 90% of the viewport. * * @example * ```tsx * <Popup> * <h2>Paused</h2> * <button onClick={resume}>Resume</button> * </Popup> * ``` */ export declare const Popup: import('styled-components').StyledComponent<"div", any, {}, never>; export declare const PopupStart: import('styled-components').StyledComponent<"div", any, {}, never>; export declare const PopupGameOver: import('styled-components').StyledComponent<"div", any, {}, never>; //# sourceMappingURL=Popup.d.ts.map