lumx-card-renderer
v1.12.0
Published
LumX Adaptive Card renderer
Downloads
55
Readme
Lumx card renderer
Convert a Microsoft adaptive card into a React widget using lumx library
Description
This project will convert MS Adaptive Card into a React component using the LumApps design system library. This will allow developers to easily integrate and display Adaptive Cards within LumApps.
The Adaptive Card project, developed by Microsoft, provides a framework for building adaptive user interfaces. It allows developers to create interactive cards that can be rendered across different Microsoft application (Teams, Outlook ...)
By using this project, developers can leverage the power of MS Adaptive Cards library for seamless integration of components into LumApps environment.
Installation
To install the library in you project, you can use yarn:
yarn install lumx-card-renderer
Storybook
You can preview the different components of this library by using storybook
You will need to use pnpm to launch this project : https://pnpm.io/installation
pnpm install
pnpm storybook
Unit testings
To test the components we combine storybook and react-testing-library.
To launch the tests you will need to :
- First, launch storybook :
pnpm storybook
- Launch the tests in another terminal :
pnpm tests-storybook