Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

Commit

Permalink
feat: expose more ui components to plugins (#1792)
Browse files Browse the repository at this point in the history
  • Loading branch information
dated authored Mar 8, 2020
1 parent d011b1d commit 48dd2f2
Showing 1 changed file with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,13 @@ import * as CollapseComponents from '@/components/Collapse'
import * as InputComponents from '@/components/Input'
import * as ListDividedComponents from '@/components/ListDivided'
import * as MenuComponents from '@/components/Menu'
import ModalCloseConfirmation from '@/components/Modal/ModalCloseConfirmation'
import ModalConfirmation from '@/components/Modal/ModalConfirmation'
import ModalWindow from '@/components/Modal/ModalWindow'
import Loader from '@/components/utils/Loader'
import SvgIcon from '@/components/SvgIcon/SvgIcon'
import TableWrapper from '@/components/utils/TableWrapper'
import WalletIdenticon from '@/components/Wallet/WalletIdenticon'

export function create (plugin) {
return () => {
Expand All @@ -14,8 +19,13 @@ export function create (plugin) {
...InputComponents,
...ListDividedComponents,
...MenuComponents,
ModalCloseConfirmation,
ModalConfirmation,
ModalWindow,
Loader,
TableWrapper
SvgIcon,
TableWrapper,
WalletIdenticon
}

plugin.globalComponents = {
Expand Down

0 comments on commit 48dd2f2

Please sign in to comment.