Card.Cover
A component to show a cover image inside a Card.
How to use
import React from 'react';
import {Card} from '@gyri/native-ui-components';
const MyComponent = ({source}) => (
<Card>
<Card.Cover source={source}/>
</Card>
);
export default MyComponent;
Props
| # | Name | Data type | Default value | Values | Description |
|---|---|---|---|---|---|
| 1 | source | The image source (either a remote URL or a local file resource) . | |||
| 2 | style | object | Custom style object | ||
| 3 | className | string | '' | It defined nativewind style classes. |