Sha256: a36f7af656aab3f80bff6c68ca7b1b95c11b781fb479f390cb57092441298037
Contents?: true
Size: 399 Bytes
Versions: 64
Compression:
Stored size: 399 Bytes
Contents
import { TOAST_TYPES } from './ToastTypesConstants'; export const successToastData = message => ({ type: TOAST_TYPES.SUCCESS, message, }); export const errorToastData = message => ({ type: TOAST_TYPES.ERROR, message }); export const warningToastData = message => ({ type: TOAST_TYPES.WARNING, message, }); export const infoToastData = message => ({ type: TOAST_TYPES.INFO, message, });
Version data entries
64 entries across 64 versions & 1 rubygems