1.2.0 • Published 2 years ago

react-image-marking v1.2.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Install

  • npm install react-image-marking --save

    Adaptation mode

      import { ImageMark } from 'react-image-marking';
      <ImageMark
         type = 'center'
         src={'./default.jpg'}
         logo={'./stamp.png}
      />

    ComponeImageMarknt properties

       type = null || 'center' //The watermark location only supports Center for the time being
       style       //Box properties
       src         //Background map
       height      //Background / box Height
       width       //Background / box width
       logo        //Watermark Icon
       logoHeight  //Watermark image height
       logoWidth   //Watermark icon width
       logoLeft    //It needs to be set when the watermark distance to the left is type === center
       logoTop     //The position of the watermark from the top type === center needs to be set
       onImage     //Picture information callback
1.2.0

2 years ago

1.1.0

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago