Add plugin type to interface definition

pull/3642/head
Joseph Izang 2 years ago
parent e638cc7db5
commit 21d5fc221b
  1. 3
      libs/remix-ui/vertical-icons-panel/src/lib/components/IconList.tsx

@ -1,10 +1,11 @@
/* eslint-disable no-use-before-define */ /* eslint-disable no-use-before-define */
/* eslint-disable @typescript-eslint/no-unused-vars */ /* eslint-disable @typescript-eslint/no-unused-vars */
import React, { useEffect } from 'react' import React, { useEffect } from 'react'
import { Plugin } from '@remixproject/engine'
import { IconRecord } from '../types' import { IconRecord } from '../types'
import Icon from './Icon' import Icon from './Icon'
interface OtherIconsProps { interface OtherIconsProps {
verticalIconsPlugin: any verticalIconsPlugin: Plugin<any, any>
itemContextAction: (e: any, name: string, documentation: string) => Promise<void> itemContextAction: (e: any, name: string, documentation: string) => Promise<void>
icons: IconRecord[] icons: IconRecord[]
theme: string theme: string

Loading…
Cancel
Save