<Responsive>
{(width, orientation) => {
if (width > 851) {
if (orientation === 'portait') {
return (
<div>Big and vertical</div>
);
}
return (
<div>Big and horizontal</div>
);
}
return (
<div>Small</div>
);
}}
</Responsive><Responsive>
{(width, orientation) => <Component width={width} orientation={orientation} />}
</Responsive>