Send @mentions

This commit is contained in:
Chris Svenningsen 2020-11-02 17:19:52 -08:00 committed by Evan Hahn
parent 63c4cf9430
commit 53c89aa40f
28 changed files with 1728 additions and 107 deletions

View file

@ -36,9 +36,10 @@ const createProps = (overrideProps: Partial<Props> = {}): Props => ({
onSubmit: action('onSubmit'),
onEditorStateChange: action('onEditorStateChange'),
onTextTooLong: action('onTextTooLong'),
startingText: overrideProps.startingText || undefined,
draftText: overrideProps.draftText || undefined,
clearQuotedMessage: action('clearQuotedMessage'),
getQuotedMessage: action('getQuotedMessage'),
members: [],
// EmojiButton
onPickEmoji: action('onPickEmoji'),
onSetSkinTone: action('onSetSkinTone'),
@ -78,7 +79,7 @@ story.add('Default', () => {
story.add('Starting Text', () => {
const props = createProps({
startingText: "here's some starting text",
draftText: "here's some starting text",
});
return <CompositionArea {...props} />;