mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
fixed dependencies
This commit is contained in:
parent
971f7a4984
commit
8ee5b09b65
6 changed files with 467 additions and 7863 deletions
|
@ -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}
|
||||
|
|
|
@ -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';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue