Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Apr 16, 2019. It is now read-only.

Simple card view component for React-Native

License

NotificationsYou must be signed in to change notification settings

talut/react-native-simple-card-view

Repository files navigation

Easiest way to adding a card view on your screen.

CardViewWithImage ExampleCardViewWithImage

package info

GitHub stars

Getting Started

via Yarn

yarn add react-native-simple-card-view

via NPM

npm install react-native-simple-card-view

React-Native Link

react-native link

Components

Styling card view

You can create an object, who has the card view styles.Then you can give that object to style props. Card view style object can have the following attributes

PropTypeDefaultDescriptionPlatform
widthnumber300Card view widthiOS,Android
heightnumber-Card view heightiOS,Android
paddingnumber5Card view paddingiOS,Android
marginnumber10Card view marginiOS,Android
borderRadiusnumber3Card view border radiusiOS,Android
shadowColorstring`'#000000'Card view shadow coloriOS,Android
shadowOpacitynumber0.3Card vie`w shadow opacityiOS,Android
shadowRadiusnumber3Card view shadow radiusiOS,Android
bgColorstring'#ffffff'Card view background coloriOS,Android
elevationnumber3Only for Android shadow valueAndroid
shadowOffsetWidthnumber3Shadow offset width only for iOSiOS
shadowOffsetHeightnumber3Shadow offset height only for iOSiOS

Components & Examples

CardView

EnglishTurkish

CardViewWithIcon

EnglishTurkish

CardViewWithImage

EnglishTurkish

v0.3.0 Features

  • CardView component added. (This component can be used for everything you can fill inside)
  • Some unnecessary codes deleted
  • Custom font feature
  • Turkish documentation support

Contributors (Thank you all)

Built With

License

This project is licensed under the MIT License - see theLICENSE.md file for details

About

Simple card view component for React-Native

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp