Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import { defineMessages } from '@formatjs/intl'
export const messages = defineMessages({
online: {
id: 'things.online',
defaultMessage: 'online',
},
offline: {
id: 'things.offline',
defaultMessage: 'offline',
},
name: {
id: 'things.name',
defaultMessage: 'Name',
},
types: {
id: 'things.types',
defaultMessage: 'Types',
},
import { defineMessages } from '@formatjs/intl'
export const messages = defineMessages({
loading: {
id: 'app.loading',
defaultMessage: 'Loading',
},
authError: {
id: 'app.authError',
defaultMessage: 'Authorization server error',
}
})
import { defineMessages } from '@formatjs/intl'
export const messages = defineMessages({
dashboard: {
id: 'menu.dashboard',
defaultMessage: 'Dashboard',
},
things: {
id: 'menu.things',
defaultMessage: 'Things',
},
services: {
id: 'menu.services',
defaultMessage: 'Services',
},
notifications: {
id: 'menu.notifications',
defaultMessage: 'Notifications',
},