react-light-marquee
Version:
What goes around comes around! An ode to the HTML marquee element.
20 lines (16 loc) • 562 B
TypeScript
import * as react_jsx_runtime from 'react/jsx-runtime';
type MarqueeDirection = 'left' | 'right' | 'up' | 'down';
type MarqueeProps = {
id: string;
direction?: MarqueeDirection;
play?: boolean;
speed?: number;
pauseOnHover?: boolean;
initialSlideIndex?: number;
children: React.ReactNode[];
};
declare const Marquee: {
({ id, speed, play, children, direction, initialSlideIndex, pauseOnHover, }: MarqueeProps): react_jsx_runtime.JSX.Element | null;
displayName: string;
};
export { type MarqueeProps, Marquee as default };