0.27.1 • Published 5 years ago
@comparaonline/ui-card v0.27.1
@comparaonline/ui-card
Installation
yarn add @comparaonline/ui-card
Usage
Card
import Card from '@comparaonline/ui-card';
The Card
is an extension of Paper
. It means it can receive all the props of it.
prop | required | type | description |
---|---|---|---|
raised | false | bool | If true, the card will use raised styling |
highlightOnHover | false | bool | if true and the device isn't touch, on hover it'll show a bigger shadow |
CardContent
import { CardContent } from '@comparaonline/ui-card';
CardContent
adds a padding to the Card
CardSection
import { CardSection } from '@comparaonline/ui-card';
CardSection
can be used to define and stack the sections of a CardSomething
implementation.
prop | required | type | description |
---|---|---|---|
align | false | enum | The text align of the children |
marginTop | false | bool | A manual adjustment of the margin top in pixels |
marginBottom | false | bool | A manual adjustment of the margin bottom in pixels |
0.27.1
5 years ago
0.23.1
6 years ago
0.21.2
6 years ago
0.21.1
6 years ago
0.20.1
6 years ago
0.19.1
6 years ago
0.18.0
6 years ago
0.17.4
6 years ago
0.17.3
6 years ago
0.17.0
6 years ago
0.13.0
6 years ago
0.13.0-5
6 years ago
0.13.0-4
6 years ago
0.13.0-3
6 years ago
0.13.2-0
6 years ago
0.13.1-0
6 years ago
0.10.0
6 years ago
0.10.0-0
6 years ago
0.9.1
6 years ago
0.9.0
6 years ago