A pack of extensions for grommet 2
created:7/7/2021
updated:7/7/2021
loc
98
comments
12%
passed
6
failed
10
coverage
88%

Card

avatar of atanasster
grommet-controls
3.0.2

A Card-type container, all props of Box apply

import { Card } from 'grommet-controls';

Main

Info card

sub-title info
Name
Description
Default
Controls
Heading(3 properties)
imageStamp
object
{
  "src": "https://s3.amazonaws.com/uifaces/faces/twitter/shadeed9/128.jpg",
  "round": "full"
}
title
text
Info card
level
number
3
Content(3 properties)
Card.CardTitle(4 properties)
Name
Description
Default
ICardProps(1 properties)
children

children card elements to be displayed

ReactNode
-
BoxProps(28 properties)

Commits

Date
Author
Commit Message
8/31/2020

atanasster

avatar of atanasster
update stories titles and navigation
8/30/2020

atanasster

avatar of atanasster
update eslint and add component-controls
8/27/2019

atanasster

avatar of atanasster
initial commit 2.x alpha
3 commits
package
imports
peer
grommet
^2.15.0
HeadingPropsHeadingBoxPropsBox
*
react
^17.0.1
React
*
ThemeContext
*
file
imports
"./CardProps"
ICardPropsICardTitlePropsICardContentPropsICardActionsProps
"./StyledCard"
StyledCard

Stories

Animation

Card

Background

Card

Card content

Border

Card

Card content

Elevation

Card

Card content

Gap

Card

Card content

Pad

Card

Card content

Round

Card

Card content