fix: import accounts issue

This commit is contained in:
Ahmed Bouhuolia
2024-03-22 20:45:05 +02:00
parent 858e3541cb
commit 973d1832bd
14 changed files with 125 additions and 48 deletions

View File

@@ -1,14 +1,27 @@
// @ts-nocheck
import React from 'react';
import { Tooltip } from '@blueprintjs/core';
import { Position, Tooltip } from '@blueprintjs/core';
import { Icon } from '../Icon';
import '@/style/components/Hint.scss';
import { Tooltip2Props } from '@blueprintjs/popover2';
interface HintProps {
content: string;
position?: Position;
iconSize?: number;
tooltipProps?: Partial<Tooltip2Props>;
}
/**
* Field hint.
*/
export function FieldHint({ content, position, iconSize = 12, tooltipProps }) {
export function FieldHint({
content,
position,
iconSize = 12,
tooltipProps,
}: HintProps) {
return (
<span class="hint">
<Tooltip content={content} position={position} {...tooltipProps}>

View File

@@ -1,6 +1,7 @@
import React from 'react';
import { HTMLDivProps, Props } from '@blueprintjs/core';
export interface BoxProps {
export interface BoxProps extends Props, HTMLDivProps {
className?: string;
}