react-tetris2
Version:
Classic Tetris game as a reusable React 18+ component, fully typed with TypeScript and controllable via ref.
18 lines • 490 B
TypeScript
/**
* A heading used for modal and inline alert messages.
*
* @remarks
* - Built as an `<h2>` to reflect semantic importance.
* - Font size clamps between 24px and 36px for responsive scaling.
*
* @propchildren
* The content to display inside the alert (usually text).
*
* @example
* ```tsx
* <Alert>Game Over!</Alert>
* ```
*/
declare const Alert: import('styled-components').StyledComponent<"h2", any, {}, never>;
export default Alert;
//# sourceMappingURL=Alert.d.ts.map