A pack of extensions for grommet 2
created:4/8/2021
updated:4/8/2021
source lines:17
comments %:18

ImageStamp

grommet-controls
3.0.1

A small image stamp used for avatars or image thumbnails

import { ImageStamp } from 'grommet-controls';

Main

Name
Description
Default
Controls
contain

Adjust width/height if image is not square. By default, the image is cut off square

widthheight
{
  "value": null
}
plain

Whether this is a plain image with no border

boolean
false
round

How much to round the corners of the stamp

mediumlargexsmallsmallfull
-
size

The size of the image stamp

mediumlargexlargexxlarge
medium
src

The image source url

string
-

Commits

Date
Author
Commit Message
8/30/2020

atanasster

update eslint and add component-controls
8/27/2019

atanasster

initial commit 2.x alpha
2 commits

package
imports
peer
react
^17.0.1
React
*

file
imports
"./StyledImageStamp"
StyledImageStamp
"./ImageStampProps"
IImageStampProps

Stories

Size