Skip to content
This repository has been archived by the owner on Apr 16, 2019. It is now read-only.

Latest commit

 

History

History
53 lines (43 loc) · 1.8 KB

cardview.md

File metadata and controls

53 lines (43 loc) · 1.8 KB

CardView

Basit, boş CardView bileşeni. İçini istediğiniz gibi doldurabilirsiniz. Bu tuval sizin.

CardView Örneğ

Öznitelikler

Özellik Tip Varsayılan Açıklama Platform Gerekli mi?
onPress func - onPress fonksiyonu iOS,Android Hayır

Örnekler

import { CardViewWithImage } from 'react-native-simple-card-view'

Basit Örnek

    <CardView>
        <Text>
            Lorem ipsum dolor sit amet, consectetur adipisicing elit. Amet blanditiis dolores eos ipsam nulla
            numquam officia provident repellat suscipit. Impedit itaque natus obcaecati odit quas recusandae. Deserunt
            ipsam iusto molestiae!
        </Text>
    </CardView>

onPress Fonksiyon Örneği

    <CardView onPress={ () => console.log("Clicked!") }>
        <Image source={ {uri: "https://placeimg.com/640/480/cars"} } style={ {width: 100, height: 100, alignSelf: 'center'} }/>
        <Text
            style={ {
                marginVertical : 15,
                textAlign      : 'center',
                backgroundColor: '#673AB7',
                color          : '#FFFFFF',
                padding        : 10,
            } }>
            Lorem ipsum dolor sit amet, consectetur adipisicing elit. Amet blanditiis dolores eos ipsam nulla
            numquam officia provident repellat suscipit. Impedit itaque natus obcaecati odit quas recusandae. Deserunt
            ipsam iusto molestiae!
        </Text>
    </CardView>