Skip to main content
Version: Next

KeyboardAccessory

设置 input / textarea 聚焦时键盘上方 cover-view / cover-image 工具栏视图

支持情况:

参考文档

类型

ComponentType<StandardProps>

示例代码

class App extends Component {
render () {
return (
<Textarea holdKeyboard="{{true}}">
<KeyboardAccessory className="container" style={{ height: 50 }} >
<CoverView onClick={() => { TODO }} style={{ flex: 1, background: 'green' }}>1</CoverView>
<CoverView onClick={() => { TODO }} style={{ flex: 1, background: 'red' }}>2</CoverView>
</KeyboardAccessory>
</Textarea>
)
}
}