react-native-card-component
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

react-native-card-component

react-native-card-component

Installation

npm install react-native-card-component

Usage

import Card from "react-native-card-component";

// ...

<Card>
    <Card.Thumbnail
        source={{ uri: 'https://picsum.photos/200' }}
        style={{ height: 200, width: 300 }}
        align={'center'}
        // stretch
        // imageProps={{resizeMode: 'contain'}}
        containerStyle={{ justifyContent: 'center', alignItems: 'center' }}
    />
    <Card.Content>
        <Card.Title
        text={'Ex Lorem magna sint labore ex commodo dolor minim ad.'}
        />
        <Card.Row>
        <Card.Col>
            <Button mode={'outlined'}>demo</Button>
        </Card.Col>
        <Card.Col>
            <Button mode={'contained'}>demo</Button>
        </Card.Col>
        </Card.Row>
    </Card.Content>
</Card>

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

Package Sidebar

Install

npm i react-native-card-component

Weekly Downloads

4

Version

0.1.0

License

MIT

Unpacked Size

42.2 kB

Total Files

45

Last publish

Collaborators

  • hnajih