Adds character count to reply box 😳 (#1634)

* Added characters remaining to reply box

* Changed warning text for character length

* Decreased font size of message
This commit is contained in:
Suhavi Sandhu
2021-01-13 08:46:45 -05:00
committed by GitHub
parent fd181f18a1
commit dad737021f
3 changed files with 47 additions and 6 deletions

View File

@@ -2,3 +2,8 @@ export const REPLY_EDITOR_MODES = {
REPLY: 'REPLY',
NOTE: 'NOTE',
};
export const CHAR_LENGTH_WARNING = {
UNDER_50: 'characters remaining',
NEGATIVE: 'characters over',
};