vault66-crt-effect
Version:
A customizable CRT (retro monitor) visual effect for React, Vue, and Web Components
13 lines (12 loc) • 497 B
TypeScript
import type React from "react";
import type { CRTOptions } from "../core/options";
export interface CRTEffectProps extends CRTOptions {
/** Content to render inside the CRT effect. */
children: React.ReactNode;
}
/**
* React wrapper around the CRT core. All the effect logic lives in
* `computeCrt`; this component just renders what it returns.
*/
declare const CRTEffect: ({ children, ...options }: CRTEffectProps) => import("react/jsx-runtime").JSX.Element;
export default CRTEffect;