0.1.37 • Published 6 years ago

react-native-adaptivecards v0.1.37

Weekly downloads
2,784
License
MIT
Repository
github
Last release
6 years ago

Introduction

React Native renderer for AdaptiveCards.

Sample Screenshot

Online renderer and debugging tool can be found here

Getting Started

Basic Usage

  1. Installation

    $ npm install react-native-adaptivecards

    or by Yarn

    $ yarn add react-native-adaptivecards
  2. Implementation

  • Import to the component where you want to show an AdaptiveCards
import AdaptiveCard from 'react-native-adaptivecards';
  • Send initial props
    <AdaptiveCard adaptiveCard={} overrideStyle={} />

Properties

PropRequiredTypeDescription
adaptiveCardYesobjectJson object based on AdaptiveCards schema
styleNoobjectCustomized styles
configNo, default{...}objectCustomized config
onSubmitNofunctionSubmit Action
onOpenUrlNofunctionOpenUrl Action
onCallbackNofunctionCallback Action
onFocusNofunctionFocus Action
onBlurNofunctionBlur Action
onErrorNofunctionError Action
onInfoNofunctionInfo Action
onWarningNofunctionWarning Action

Examples

$ cd examples
$ yarn
$ yarn ios
0.1.37

6 years ago

0.1.36

6 years ago

0.1.35

6 years ago

0.1.30

6 years ago

0.1.27

6 years ago

0.1.26

6 years ago

0.1.25

6 years ago

0.1.24

6 years ago

0.1.23

6 years ago

0.1.22

6 years ago

0.1.21

6 years ago

0.1.20

6 years ago

0.1.19

6 years ago

0.1.18

6 years ago

0.1.17

6 years ago

0.1.16

6 years ago

0.1.15

6 years ago

0.1.14

6 years ago

0.1.13

6 years ago

0.1.12

6 years ago

0.1.11

6 years ago

0.1.10

6 years ago

0.1.9

6 years ago

0.1.8

6 years ago

0.1.7

6 years ago

0.1.6

6 years ago

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.2.1

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago