Added console warning to InputAccessoryView

Reviewed By: mmmulani

Differential Revision: D7305377

fbshipit-source-id: 4a9888b5592014956c3aa44baffb2ac3a0329b88
This commit is contained in:
Peter Argany 2018-03-19 10:06:58 -07:00 committed by Facebook Github Bot
parent c73242938c
commit 15bc6d1e0b
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}