Add choose expiration form
This commit is contained in:
parent
16079b4db5
commit
d9123e21ba
7 changed files with 344 additions and 2 deletions
|
@ -57,6 +57,7 @@ export const COMPOSE_COMPOSING_CHANGE = 'COMPOSE_COMPOSING_CHANGE';
|
|||
export const COMPOSE_LANGUAGE_CHANGE = 'COMPOSE_LANGUAGE_CHANGE';
|
||||
|
||||
export const COMPOSE_EMOJI_INSERT = 'COMPOSE_EMOJI_INSERT';
|
||||
export const COMPOSE_EXPIRATION_INSERT = 'COMPOSE_EXPIRATION_INSERT';
|
||||
|
||||
export const COMPOSE_UPLOAD_CHANGE_REQUEST = 'COMPOSE_UPLOAD_UPDATE_REQUEST';
|
||||
export const COMPOSE_UPLOAD_CHANGE_SUCCESS = 'COMPOSE_UPLOAD_UPDATE_SUCCESS';
|
||||
|
@ -742,6 +743,14 @@ export function insertEmojiCompose(position, emoji, needsSpace) {
|
|||
};
|
||||
}
|
||||
|
||||
export function insertExpirationCompose(position, data) {
|
||||
return {
|
||||
type: COMPOSE_EXPIRATION_INSERT,
|
||||
position,
|
||||
data,
|
||||
};
|
||||
}
|
||||
|
||||
export function changeComposing(value) {
|
||||
return {
|
||||
type: COMPOSE_COMPOSING_CHANGE,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue