akameco / babel-plugin-react-intl-auto

i18n for the component age. Auto management react-intl ID.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't add description

Tomekmularczyk opened this issue · comments

commented

This will fail with error that FormattedMessage has required id prop which isn't provided.

const messages = defineMessages({
  headerTitle: {
    defaultMessage: 'Welcome to dashboard {name}!',
    description: 'Message to greet the user.',
  },
  fourOfour: 'go to 404 page',
});

It would be nice to allow passing description.

Thank you @Tomekmularczyk :)

Fixed 👍