React Native renderer for AdaptiveCards
Перейти к файлу
Dongyu Zhao b5ec41e080 Merged PR 740936: Support PeoplePicker
Support PeoplePicker
2018-08-21 07:14:25 +00:00
dist Merged PR 740936: Support PeoplePicker 2018-08-21 07:14:25 +00:00
examples Merged PR 740936: Support PeoplePicker 2018-08-21 07:14:25 +00:00
src Merged PR 740936: Support PeoplePicker 2018-08-21 07:14:25 +00:00
.gitignore
README.md Merged PR 734758: Refine Adaptive Card render engine 2018-08-15 05:50:44 +00:00
gulpfile.js
package.back.json
package.json Merged PR 740936: Support PeoplePicker 2018-08-21 07:14:25 +00:00
screenshot.gif
tsconfig.json Merged PR 734758: Refine Adaptive Card render engine 2018-08-15 05:50:44 +00:00
tslint.json
yarn.lock Merged PR 740936: Support PeoplePicker 2018-08-21 07:14:25 +00: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