@loafmarkets/ui 0.1.276 → 0.1.277

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -4914,6 +4914,7 @@ var Header = ({
4914
4914
  onProfileNavigate: _onProfileNavigate,
4915
4915
  onOrdersNavigate: _onOrdersNavigate,
4916
4916
  onWalletNavigate: _onWalletNavigate,
4917
+ onSettingsClick,
4917
4918
  showTradeTab = true,
4918
4919
  portfolioSummary
4919
4920
  }) => {
@@ -5437,6 +5438,18 @@ var Header = ({
5437
5438
  children: /* @__PURE__ */ jsx(MenuItem, { children: "Add funding" })
5438
5439
  }
5439
5440
  ),
5441
+ onSettingsClick && /* @__PURE__ */ jsx(
5442
+ "button",
5443
+ {
5444
+ type: "button",
5445
+ onClick: (event) => {
5446
+ event?.preventDefault();
5447
+ closeMenus();
5448
+ onSettingsClick();
5449
+ },
5450
+ children: /* @__PURE__ */ jsx(MenuItem, { children: "Settings" })
5451
+ }
5452
+ ),
5440
5453
  /* @__PURE__ */ jsx(
5441
5454
  "button",
5442
5455
  {