plugin property

pull/1964/head
bunsenstraat 3 years ago
parent 50a4c7f779
commit 7ced849320
  1. 3
      libs/remix-ui/vertical-icons-panel/src/lib/components/Home.tsx
  2. 3
      libs/remix-ui/vertical-icons-panel/src/lib/components/Icon.tsx

@ -9,8 +9,7 @@ function Home ({ verticalIconPlugin }: HomeProps) {
<div
className="pl-1 mt-2 remixui_homeIcon"
onClick={async () => await verticalIconPlugin.activateHome()}
// @ts-ignore
plugin="home"
{...{ plugin: 'home '}}
title="Home"
data-id="verticalIconsHomeIcon"
id="verticalIconsHomeIcon"

@ -89,8 +89,7 @@ const Icon = ({
onClick={() => {
(verticalIconPlugin as any).toggle(name)
}}
//@ts-ignore
plugin={name}
{...{plugin: name}}
title={title}
onContextMenu={(e: any) => {
e.preventDefault()

Loading…
Cancel
Save