我试图在 UI Kitten 中使用 Eva 图标,但最终得到了这个错误,我在这个问题上研究了一段时间,React 和 Reavt-Native 的新手,如果有人可以帮助我,我会很高兴(:
render()
const FacebookIcon = (props) => (
<Icon name='facebook' {...props} />
);
return(
<Input
value={this.state.id}
label="FB ID"
size="medium"
placeholder="Enter your fb_id"
onChangeText={(enteredText) => this.setState({ fbId: enteredText })}
accessoryLeft={FacebookIcon}
/>
)