<YMaps>
<Map
defaultState={{
zoom: 10,
center: houses[0].position,
}}
>
{houses.map((house) => <Placemark geometry={house.position} key={house.key} />}
</Map>
</YMaps>
myMap.geoObjects.getBounds()
myMap.setBounds(
myMap.geoObjects.getBounds(),
{
checkZoomRange: true,
zoomMargin: 9
}
);