Skip to content

proof of concept for creating UI Component adapters to speed up component app development

Notifications You must be signed in to change notification settings

dmceachernmsft/communication-ui-library-component-adapter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Communicaton UI library Component Adapters

The Goal

The goal of this repo is to show how we might use the AzureCommunicationCallAdapter with a component application. This shows that we can give contoso the ability to create their own composite like experience leveraging the power of our adapters.

Changes to the UI library that were made to make this work were:

  • Expose the CallAdapterProvider from the react-composites package.
  • Expose the composite version of usePropsFor as usePropsForComposite to allow contoso to manage the data and handlers of their components.

pre-requisites

  • node v14 - v17

Dependency Note:

If you are installing the packages on Mac or Linux you will need to update the Communication react package:

"@azure/communication-react": ".\\deps\\azure-communication-react-1.3.2-beta.0-with-provider.tgz",

to be:

"@azure/communication-react": "./deps/azure-communication-react-1.3.2-beta.0-with-provider.tgz",

Getting started

To get started run the following:

  1. setup yarn on your machine
npm install -g yarn
  1. install the dependencies
yarn
  1. Run the app
yarn start

About

proof of concept for creating UI Component adapters to speed up component app development

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published