Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "ui/Msg"

Index

Type aliases

Variables

Type aliases

Props

Props: MainStoreInjected & object

Variables

Const Msg

Msg: (Anonymous function) & object = injectMainStore(observer(({entityName, propertyName, mainStore}: Props) => {if (mainStore == null || mainStore.messages == null) {return <>propertyName</>;}const {messages} = mainStore;const message: string = messages[entityName + '.' + propertyName];return message != null? <>{message}</>: <>{propertyName}</>}))

Generated using TypeDoc