Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.
TypeScript accessibilityalternativecloudflarecloudflare-workersdesignfreefrontendopen-sourceradix-uireactremixweb-developmentwebflowwebsite-builderwebsite-developmentwebsiteswebstudio
use plus icon for adding existing components on the canvas
Oleg Isonendb0198042c9c
diff --git a/app/designer/features/sidebar-left/panels/components.tsx b/app/designer/features/sidebar-left/panels/components.tsxindex 54e3228ac0..f2eb88c2a4 100644--- a/app/designer/features/sidebar-left/panels/components.tsx+++ b/app/designer/features/sidebar-left/panels/components.tsx@@ -2,7 +2,7 @@ import { useEffect, useRef, type MouseEventHandler, useCallback } from "react";import { useDrag } from "react-dnd";import { type Instance } from "@webstudio-is/sdk";import { Flex, Text } from "~/shared/design-system";-import { Component1Icon } from "~/shared/icons";+import { PlusIcon } from "~/shared/icons";import { primitives, type DragData } from "~/shared/component";import { type Publish } from "~/designer/shared/canvas-iframe";import { createInstance } from "~/shared/tree-utils";@@ -10,7 +10,7 @@ import { CustomDragLayer } from "../custom-drag-layer";import type { TabName } from "../types";type ComponentProps = {- Icon: typeof Component1Icon;+ Icon: typeof PlusIcon;component: Instance["component"];onDragChange: (isDragging: boolean) => void;onClick: MouseEventHandler<HTMLDivElement>;@@ -125,4 +125,4 @@ export const TabContent = ({);};-export const icon = <Component1Icon />;+export const icon = <PlusIcon />;