1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00

fixed dependencies

This commit is contained in:
Fedor Katurov 2022-01-28 11:02:23 +07:00
parent 971f7a4984
commit 8ee5b09b65
6 changed files with 467 additions and 7863 deletions

View file

@ -1,9 +1,8 @@
import React, { ButtonHTMLAttributes, DetailedHTMLProps, FC, memo, useMemo } from 'react';
import Tippy from '@tippy.js/react';
import Tippy from '@tippyjs/react';
import classnames from 'classnames';
import { Icon } from '~/components/input/Icon';
import { IIcon } from '~/types';
@ -69,7 +68,7 @@ const Button: FC<IButtonProps> = memo(
);
return (
<Tippy content={label || ''} enabled={!!label}>
<Tippy content={label || ''} disabled={!label}>
<button className={computedClassName} {...props}>
{iconLeft && <Icon icon={iconLeft} size={20} key={0} className={styles.icon_left} />}
{!!title ? <span>{title}</span> : children}

View file

@ -1,6 +1,6 @@
import React, { FC } from 'react';
import Tippy from '@tippy.js/react';
import Tippy from '@tippyjs/react';
import { Group } from '~/components/containers/Group';
import { Icon } from '~/components/input/Icon';