21 lines
527 B
TypeScript
21 lines
527 B
TypeScript
import React from 'react';
|
|
import './index.less';
|
|
export interface CompareImageProps {
|
|
/**
|
|
* @description 属性描述
|
|
* @default "默认值"
|
|
*/
|
|
label: string;
|
|
openRoll?: boolean;
|
|
dataSource?: Array<{
|
|
url: string;
|
|
score: number;
|
|
}>;
|
|
showScore?: boolean;
|
|
current: number;
|
|
}
|
|
export interface CompareImageRefProps {
|
|
}
|
|
declare const CompareImage: React.ForwardRefExoticComponent<CompareImageProps & React.RefAttributes<CompareImageRefProps>>;
|
|
export default CompareImage;
|