react-tetris2
Version:
Classic Tetris game as a reusable React 18+ component, fully typed with TypeScript and controllable via ref.
22 lines • 587 B
TypeScript
/**
* A horizontal rule used to separate sections within panels.
*
* @remarks
* - Renders a full-width `<hr>` without default borders.
* - Uses a light top border and subtle box-shadow for depth.
* - Provides consistent vertical spacing (`4px 0`).
*
* @example
* ```tsx
* <ScorePanel>
* <StatRow>…</StatRow>
* <Divider />
* <StatRow>…</StatRow>
* </ScorePanel>
* ```
*
* @returns A styled `<hr>` element.
*/
declare const Divider: import('styled-components').StyledComponent<"hr", any, {}, never>;
export default Divider;
//# sourceMappingURL=Divider.d.ts.map