zarm
Version:
基于 React 的移动端UI库
12 lines (11 loc) • 645 B
TypeScript
import React from 'react';
import type { HTMLProps } from '../utils/utilityTypes';
import type { BaseImagePreviewProps } from './interface';
export interface ImagePreviewCssVars {
'--footer-padding'?: React.CSSProperties['padding'];
'--pagination-text-color'?: React.CSSProperties['color'];
'--pagination-font-size'?: React.CSSProperties['fontSize'];
}
export declare type ImagePreviewProps = BaseImagePreviewProps & HTMLProps<ImagePreviewCssVars>;
declare const ImagePreview: React.ForwardRefExoticComponent<BaseImagePreviewProps & HTMLProps<ImagePreviewCssVars> & React.RefAttributes<HTMLDivElement>>;
export default ImagePreview;