mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 05:10:31 +00:00
fix: import accounts issue
This commit is contained in:
@@ -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}>
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user