flex-plugin
Library to help building Twilio Flex Plugins.
Installation
npm install flex-plugin
Usage
import { loadPlugin, FlexPlugin } from 'flex-plugin';
class MyPlugin extends FlexPlugin {
pluginName = 'MyPlugin';
init(flex, manager) {
flex.TaskCanvas.Content.add(<p>Hello</p>);
}
}
loadPlugin(MyPlugin);
Contributing
Make sure to follow the instructions in the main repository to setup the project
cd packages/flex-plugin
npx lerna bootstrap
npm test
npm link
npm link flex-plugin
Contributors
Thank you to all the lovely contributors to this project. Please check the main repository to see all contributors.
License
MIT