Project

General

Profile

Actions

Bug #25265

closed

Allow using the I18n in defaultProps

Added by Avi Sharvit about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Internationalization
Target version:
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

This will fail all tests:

```js
SearchButton.defaultProps = {
children: __('Search'),
};
```

Actions

Also available in: Atom PDF