How to use?
<div id="root" style="width:100%"></div>
<link rel="stylesheet" href="https://js.bussystem.by/styles.css" rel="noreferrer" tabindex="-1">
<script src="https://js.bussystem.by/bundle.js" tabindex="-1"></script>
<script>
var myWidget = Infobus.default.widgets.BusRoutesWidget.new({ selector: "#root" });
myWidget.render({
locale: "ru",
currency: "EUR",
searchFocusFrom: "1",
showAccountOffice: true,
showBonus: true,
partnerId: "1",
routesContainerProps: {"style":{"overflow":"auto"}},
mainContainerProps: {},
});
</script>