22 lines
417 B
TypeScript
22 lines
417 B
TypeScript
|
|
import React, { useRef } from 'react';
|
|
import { CompareImage, Space } from '@zhst/meta'
|
|
|
|
|
|
export default () => {
|
|
const ref = useRef(null)
|
|
|
|
return (
|
|
<Space>
|
|
<CompareImage
|
|
label="目标图"
|
|
showTools={false}
|
|
preDisable={true}
|
|
url="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
|
openRoll
|
|
ref={ref}
|
|
/>
|
|
</Space>
|
|
)
|
|
}
|