mui-extended
Version:
Extended UI Components built on Material UI
25 lines (24 loc) • 710 B
TypeScript
import { BoxProps } from "@mui/material";
import { Component, ReactNode } from "react";
export type MarqueeAnimationProps = {
children: ReactNode;
speed?: number;
repeat?: boolean;
reverse?: boolean;
} & BoxProps;
export declare class MarqueeAnimation extends Component<MarqueeAnimationProps, {
sx: {
marginLeft?: string;
transition?: string;
};
}> {
private isComponentMounted;
private ref;
constructor(props: MarqueeAnimationProps);
componentDidMount(): void;
componentWillUnmount(): void;
render(): import("react/jsx-runtime").JSX.Element;
wait(ms: number): Promise<void>;
resetMargin(): Promise<void>;
marquee(): Promise<void>;
}