Added console warning to InputAccessoryView
Reviewed By: mmmulani Differential Revision: D7305377 fbshipit-source-id: 4a9888b5592014956c3aa44baffb2ac3a0329b88
This commit is contained in:
parent
c73242938c
commit
15bc6d1e0b
|
@ -90,6 +90,8 @@ type Props = {
|
|||
|
||||
class InputAccessoryView extends React.Component<Props> {
|
||||
render(): React.Node {
|
||||
console.warn('<InputAccessoryView> is not supported on Android yet.');
|
||||
|
||||
if (React.Children.count(this.props.children) === 0) {
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue