Skip to content

Commit

Permalink
Merge branch 'feat/add-toolbar-buttons-to-x2many' into v2
Browse files Browse the repository at this point in the history
  • Loading branch information
mguellsegarra committed Jan 28, 2025
2 parents b46cf2f + 7470e76 commit 8a4745d
Show file tree
Hide file tree
Showing 18 changed files with 880 additions and 549 deletions.
6 changes: 6 additions & 0 deletions src/actionbar/ActionBarSeparator.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { memo } from "react";

export const ActionBarSeparator = memo(() => (
<div className="inline-block w-2" />
));
ActionBarSeparator.displayName = "ActionBarSeparator";
1 change: 0 additions & 1 deletion src/actionbar/ActionButton.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from "react";
import ButtonWithTooltip from "@/common/ButtonWithTooltip";
import { LoadingOutlined } from "@ant-design/icons";
import { ButtonProps } from "antd";
Expand Down
6 changes: 1 addition & 5 deletions src/actionbar/DashboardActionBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,8 @@ import {
BorderOuterOutlined,
} from "@ant-design/icons";
import { useLocale } from "@gisce/react-formiga-components";
import {
ActionViewContext,
ActionViewContextType,
} from "@/context/ActionViewContext";
import { ActionBarSeparator } from "./ActionBarSeparator";
import { ShareUrlButton } from "./ShareUrlButton";
import { ActionBarSeparator } from "./FormActionBar";

function DashboardActionBar() {
const { isLoading, dashboardRef, moveItemsEnabled, setMoveItemsEnabled } =
Expand Down
Loading

0 comments on commit 8a4745d

Please sign in to comment.