const { apiKey, children } = props; if (!apiKey) { return <div>Empty apiKey!</div>; } return <div>{children}</div>;