Skip to main content

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

#NameData typeDefault valueValuesDescription
1sourceThe image source (either a remote URL or a local file resource) .
2styleobjectCustom style object
3classNamestring''It defined nativewind style classes.