Files
video-gen/video-gen-admin/node_modules/@rc-component/image/lib/Preview/Footer.d.ts
T
2026-05-25 17:08:18 +08:00

24 lines
852 B
TypeScript

import * as React from 'react';
import type { Actions, PreviewProps } from '.';
import type { ImgInfo } from '../Image';
import type { TransformType } from '../hooks/useImageTransform';
export type FooterSemanticName = 'footer' | 'actions';
export interface FooterProps extends Actions {
prefixCls: string;
showProgress: boolean;
countRender?: PreviewProps['countRender'];
actionsRender?: PreviewProps['actionsRender'];
current: number;
count: number;
showSwitch: boolean;
icons: PreviewProps['icons'];
scale: number;
minScale: number;
maxScale: number;
image: ImgInfo;
transform: TransformType;
classNames: Partial<Record<FooterSemanticName, string>>;
styles: Partial<Record<FooterSemanticName, React.CSSProperties>>;
}
export default function Footer(props: FooterProps): React.JSX.Element;