UNPKG

@api-platform/client-generator

Version:

Generate apps built with Next, Nuxt, Quasar, React, React Native, Vue or Vuetify for any API documented using Hydra or OpenAPI

32 lines (27 loc) 514 B
import { Notify } from 'quasar'; const error = (message, closeLabel) => Notify.create({ message, color: 'red', icon: 'error', closeBtn: closeLabel, }); const success = (message, closeLabel) => Notify.create({ message, color: 'green', icon: 'tag_faces', closeBtn: closeLabel, }); const warning = (message, closeLabel) => Notify.create({ message, color: 'yellow', icon: 'warning', closeBtn: closeLabel, }); export { error, success, warning, };