import { YMaps } from '@pbe/react-yandex-maps';
import React, { PropsWithChildren } from 'react';

export const YMapsProvider = ({ children }: PropsWithChildren) => {
  return (
    <YMaps
      query={{
        lang: 'ru_RU',
        apikey: '19cbc387-db9a-4807-a620-5205215db40f',
        suggest_apikey: '3576e65e-5e75-4ea2-b21c-7f9db112682e',
      }}
    >
      {children}
    </YMaps>
  );
};
