@comparaonline/ui-card-summary
TypeScript icon, indicating that this package has built-in type declarations

3.0.0 • Public • Published

@comparaonline/ui-card-summary

Installation

yarn add @comparaonline/ui-card-summary

Usage

const highlightProps = {
  startColor: 'blue',
  endColor: 'red',
  image: <img src="..." alt="..." />
};

<CardSummary highlight={highlightProps}>
  ...some content
</CardSummary>

Component Props

name type required description
hightlightProps object false hightlight configuration
actionComponent ReactNode false component displayed as action element
callback function false callback executed when action is clicked
minWidth string false min width of the card
maxWidth string false max width of the card

hightlightProps

name type required description
startColor string true start color of the gradient
endColor string true end color of the gradient
frameComponent ReactNode false component displayed in the circle frame

Readme

Keywords

none

Package Sidebar

Install

npm i @comparaonline/ui-card-summary

Weekly Downloads

2

Version

3.0.0

License

none

Unpacked Size

30.7 kB

Total Files

17

Last publish

Collaborators

  • gnavarro
  • dsuarez_compa
  • pfariaz
  • ricardo.sosa
  • suarezcumare
  • fverag
  • comparaonline-dev
  • comparaonlineprivate
  • matotias
  • javierlara1989
  • smurua
  • eseceve
  • pablocompara