React Native renderer for AdaptiveCards
Перейти к файлу
Dongyu Zhao a908712b20 v0.1.9 2019-01-04 17:00:57 +08:00
dist Bypass 3rd party skill issue 2019-01-04 17:00:36 +08:00
examples Bypass 3rd party skill issue 2019-01-04 17:00:36 +08:00
src Bypass 3rd party skill issue 2019-01-04 17:00:36 +08:00
tool Bypass 3rd party skill issue 2019-01-04 17:00:36 +08:00
.gitignore Merged PR 686347: Align the render rule with other platforms and enhance extensibility 2018-06-29 09:01:24 +00:00
README.md Merged PR 734758: Refine Adaptive Card render engine 2018-08-15 05:50:44 +00:00
gulpfile.js Merged PR 751703: Modify gulpfile, add web tool and fix cannot set children issue 2018-08-31 09:15:30 +00:00
package.json v0.1.9 2019-01-04 17:00:57 +08:00
screenshot.gif Update readme.md 2017-11-20 17:30:10 +08:00
tsconfig.json Merged PR 760152: Add schema validation tools 2018-09-06 13:43:59 +00:00
tslint.json Merged PR 710005: Make AdaptiveCard support PeoplePicker 2018-07-23 07:04:12 +00:00
yarn.lock Fix accessbility issue in 0.1.0 2018-11-29 11:40:00 +08:00

README.md

Introduction

React Native renderer for AdaptiveCards.

Sample Screenshot

Getting Started

Basic Usage

  1. Installation
$ npm install git+https://msasg.visualstudio.com/DefaultCollection/Bing_Cortana/_git/react-native-adaptivecards

or by Yarn

$ yarn add git+https://msasg.visualstudio.com/DefaultCollection/Bing_Cortana/_git/react-native-adaptivecards
  1. Impementation
  • Import to the component where you want to show an AdaptiveCards
import AdaptiveCard from 'react-native-adaptivecards';
  • Send initial props
    <AdaptiveCard adaptiveCard={} overrideStyle={} />

Properties

Prop default Type Description
adaptiveCard - object Json object based on AdaptiveCards schema
overrideStyle {...} object Customized styles

Examples

$ cd examples
$ yarn
$ react-native run-ios