2022-01-13 20:22:57 +00:00
|
|
|
import { Action } from 'redux';
|
|
|
|
|
|
|
|
import { SET_CUSTOM_EMOJIS } from './actionsTypes';
|
2022-05-07 01:06:08 +00:00
|
|
|
import { ICustomEmojis } from '../definitions';
|
2022-01-13 20:22:57 +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
|
|
|
|
};
|
|
|
|
}
|