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

Avatar

grommet-controls
3.0.1

An image with some text, can be used as a user Avatar image

import { Avatar } from 'grommet-controls';

Main

Adam Smithadmin

Name
Description
Default
Controls
Image

Image to be displayed

string
-
Title

Main title(name) for the Avatar

string
-
Sub-title

Secondary title for the Avatar

string
-
contain

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

widthheight
-
plain

Whether this is a plain image with no border

boolean
-
round

How much to round the corners of the stamp

xsmallsmallmediumlargefull
-
Size

The size of the image stamp

mediumlargexlargexxlarge
-
src

The image source url

string
-

Commits

Date
Author
Commit Message
8/31/2020

atanasster

update stories titles and navigation
8/30/2020

atanasster

update eslint and add component-controls
10/24/2019

atanasster

add knobs to Avatar
8/27/2019

atanasster

initial commit 2.x alpha
4 commits

package
imports
peer
grommet
^2.15.0
TextBox
*
react
^17.0.1
React
*

file
imports
"../ImageStamp"
ImageStamp
"./AvatarProps"
IAvatarProps