Can't add description
Tomekmularczyk opened this issue · comments
Tomek 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.
akameco commented
Thank you @Tomekmularczyk :)
Fixed 👍