0.1.37 • Published 5 years ago

react-native-adaptivecards v0.1.37

Weekly downloads
2,784
License
MIT
Repository
github
Last release
5 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

5 years ago

0.1.36

5 years ago

0.1.35

5 years ago

0.1.30

5 years ago

0.1.27

5 years ago

0.1.26

5 years ago

0.1.25

5 years ago

0.1.24

5 years ago

0.1.23

5 years ago

0.1.22

5 years ago

0.1.21

5 years ago

0.1.20

5 years ago

0.1.19

5 years ago

0.1.18

5 years ago

0.1.17

5 years ago

0.1.16

5 years ago

0.1.15

5 years ago

0.1.14

5 years ago

0.1.13

5 years ago

0.1.12

5 years ago

0.1.11

5 years ago

0.1.10

5 years ago

0.1.9

5 years ago

0.1.8

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.2.1

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.2.0

5 years ago

0.1.0

6 years ago