export const state = () => ({
    color: '',
    content: '',
    icon: '',
    errors: []
})

export const mutations = {
    showMessage(state, payload) {
        state.content = payload.content
        state.color = payload.color
        state.icon = payload.icon;
        state.errors = payload.errors;
    }
}