I know how to connect my translate function to a component this way:
class App extends Component {
...
}
export default translate('common')(App);
But how can I do the same task if component is being exported this way:
export function UserInterface({data, onAdmin, isAdmin}: propTypes){
...
I know, that this is kind of silly question. But I am stuck at this point.