2022-02-28 18:00:47 +00:00
|
|
|
import { Action } from 'redux';
|
|
|
|
|
|
|
|
import { SET_CUSTOM_EMOJIS } from './actionsTypes';
|
2022-05-30 22:02:08 +00:00
|
|
|
import { ICustomEmojis } from '../definitions';
|
2022-02-28 18:00:47 +00:00
|
|
|
|
|
|
|
export interface ISetCustomEmojis extends Action {
|
|
|
|
emojis: ICustomEmojis;
|
|
|
|
}
|
|
|
|
|
|
|
|
export type TActionCustomEmojis = ISetCustomEmojis;
|
|
|
|
|
|
|
|
export function setCustomEmojis(emojis: ICustomEmojis): ISetCustomEmojis {
|
|
|
|
return {
|
|
|
|
type: SET_CUSTOM_EMOJIS,
|
|
|
|
emojis
|
|
|
|
};
|
|
|
|
}
|