Skip to content

Commit 768185a

Browse files
Added customization for thumbnails
1 parent 888117e commit 768185a

3 files changed

Lines changed: 131 additions & 66 deletions

File tree

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,14 @@ PropTypes.shape({
265265
scale: PropTypes.number, // Thumbnail scale, ranges from 1 to 5
266266

267267
rotationAngle: PropTypes.number, // Thumbnail rotation angle, values can be -90, 0 or 90. Default is 0
268+
269+
onTop: PropTypes.bool, // Thumbnail position, if set to true thumnail will be placed on top
270+
271+
backgroundColor: PropTypes.string, // Color(hex or rgb) of the thumbnail container
272+
273+
thumbCss: PropTypes.string, // Custom css class for thumbnails
274+
275+
selectedThumbCss: PropTypes.string, // Custom css class for selected thumbnail
268276
})
269277
```
270278

@@ -296,7 +304,7 @@ PropTypes.shape({
296304

297305
size: PropTypes.string, // Fontsize of Watermark
298306

299-
color: PropTypes.string, // Color(hexcode) of the watermark
307+
color: PropTypes.string, // Color(hex or rgb) of the watermark
300308
})
301309
```
302310

0 commit comments

Comments
 (0)