我想使用一些图像作为背景,但是当我使用BackgroundImage而不是视图时,我的KeyboardAvoidingView和TouchableOcapity标签变得不可触摸。(以前,当我使用View标签而不是背景图像时,它工作得很好)。有人能帮帮我吗?<Task text={'Prepare for a Date <3'} />
<KeyboardAvoi
我使用的是KeyboardAvoidingView,我想把道具的“行为”传递给它,以防平台是IOS平台,而不是安卓平台。我不想为相同的内容编写两个单独的JSX组件声明。有没有办法决定通过道具。Based on the platform the component should be declared the following way
<KeyboardAvoidingViewmodalContainer} >
{this.props.children} //I've lots