import React from 'react'; import { WatermarkType } from '../../constants/type'; import { TextWrapper, Img } from './styled'; type Props = WatermarkType & { viewScale: number; }; const index: React.FC = ({ type, text, imagepath, viewScale, scale = 1, opacity, textcolor, rotation, }: Props) => ( type === 'text' ? ( {text} ) : ( ) ); export default index;