2.5.0 • Published 2 years ago

@webex/message-composer v2.5.0

Weekly downloads
154
License
MIT
Repository
github
Last release
2 years ago

Message Composer

Message composer for the Webex Web Client.

Setup

You will need Node v11+ and Yarn installed.

Usage

yarn build to build the composer.

To link with the client, run yarn link in your message composer terminal, then run yarn link @webex/message-composer in the client terminal. You will need to build the composer after making changes for them to take effect. To unlink, run yarn unlink @webex/message-composer in the client terminal, then yarn to rebuild the original package from deployed package.

To test without linking to a client, run yarn storybook.

Example of usage in the client:

import Composer from '@webex/message-composer';

// Prepare the functions and variables and whatnot

<Composer
  draft={draft}
  mentions={mentions}
  notifyKeyDown={onKeyDown}
  onError={onError}
  placeholder={placeholder}
  send={onSend}
  setEmitter={realSetEmitter}
  Toolbar={Toolbar}
>
  {stagedFiles}
  {quotedActivitySection}
</Composer>;

Or check out the stories file.

API

Check out the API docs here.

Development

See the development notes for more information.

2.5.0

2 years ago

2.4.0

3 years ago

2.3.0

3 years ago

2.2.1

3 years ago

2.2.0

4 years ago

2.1.1

4 years ago

2.1.0

4 years ago

2.0.0

4 years ago

1.11.0

4 years ago

1.10.0

4 years ago

1.9.7

4 years ago

1.9.6

4 years ago

1.9.5

4 years ago

1.9.4

4 years ago

1.9.3

4 years ago

1.9.2

4 years ago

1.9.1

4 years ago

1.9.0

4 years ago

1.8.1

4 years ago

1.8.0

4 years ago

1.7.0

4 years ago

1.6.0

4 years ago

1.5.0

4 years ago

1.4.0

4 years ago

1.3.0

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago