Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gatewayapps/react-adaptivecards
A react wrapper for microsoft/adaptivecards
https://github.com/gatewayapps/react-adaptivecards
hacktoberfest
Last synced: about 1 month ago
JSON representation
A react wrapper for microsoft/adaptivecards
- Host: GitHub
- URL: https://github.com/gatewayapps/react-adaptivecards
- Owner: gatewayapps
- License: mit
- Created: 2018-03-08T19:16:48.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-08-20T19:43:07.000Z (over 3 years ago)
- Last Synced: 2024-10-01T15:08:45.521Z (2 months ago)
- Topics: hacktoberfest
- Language: JavaScript
- Homepage: https://gatewayapps.github.io/react-adaptivecards/
- Size: 508 KB
- Stars: 20
- Watchers: 7
- Forks: 11
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ccamel - gatewayapps/react-adaptivecards - A react wrapper for microsoft/adaptivecards (JavaScript)
README
# react-adaptivecards
A react wrapper for [microsoft/adaptivecards](https://adaptivecards.io)![](https://gatewayapps.github.io/react-adaptivecards/images/sample.png "Adaptive Cards")
### Installation
```js static
npm install --save react-adaptivecards
```### Usage
```js static
import AdaptiveCard from 'react-adaptivecards'
```### React-AdaptiveCard sample
```js```
### Sample Card Payload
```json
{
"type": "AdaptiveCard",
"version": "1.0",
"body": [
{
"type": "TextBlock",
"text": "Here is a ninja cat"
},
{
"type": "Image",
"url": "http://adaptivecards.io/content/cats/1.png"
}
]
}
```