src\index.js

About Adaptive Cards

Adaptive Cards are a new way for developers to exchange card content in a common and consistent way. Find out more at https://adaptivecards.io

Installation

  npm install --save react-adaptivecards

Usage

  import AdaptiveCard from 'react-adaptivecards'

React-AdaptiveCard sample

PIZZA
Tom's Pie
4.2 ★★★☆ (93) · $$
**Matt H. said** "I'm compelled to give this place 5 stars due to the number of times I've chosen to eat here this past year!"
undefined

Sample Card Payload

{
    "type": "AdaptiveCard",
    "version": "1.0",
    "body": [
        {
            "type": "TextBlock",
            "text": "Here is a ninja cat"
        },
        {
            "type": "Image",
            "url": "http://adaptivecards.io/content/cats/1.png"
        }
    ]
}

React Adaptivecards Style Guide