@kyle-test/zto-react-kit 0.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +54 -0
  3. package/dist/components/Badge/index.d.ts +12 -0
  4. package/dist/components/Badge/stories.d.ts +66 -0
  5. package/dist/components/Breadcrumb/index.d.ts +15 -0
  6. package/dist/components/Breadcrumb/stories.d.ts +6 -0
  7. package/dist/components/Button/index.d.ts +11 -0
  8. package/dist/components/Button/stories.d.ts +69 -0
  9. package/dist/components/CenterLoading/index.d.ts +9 -0
  10. package/dist/components/CenterLoading/stories.d.ts +62 -0
  11. package/dist/components/Form/Group/index.d.ts +11 -0
  12. package/dist/components/Form/Group/stories.d.ts +36 -0
  13. package/dist/components/Form/Input/index.d.ts +14 -0
  14. package/dist/components/Form/Input/stories.d.ts +81 -0
  15. package/dist/components/Form/Label/index.d.ts +1 -0
  16. package/dist/components/Form/Label/stories.d.ts +39 -0
  17. package/dist/components/Form/NumberInput/index.d.ts +28 -0
  18. package/dist/components/Form/NumberInput/stories.d.ts +98 -0
  19. package/dist/components/Form/Select/index.d.ts +11 -0
  20. package/dist/components/Form/Select/stories.d.ts +69 -0
  21. package/dist/components/Form/Textarea/index.d.ts +12 -0
  22. package/dist/components/Form/Textarea/stories.d.ts +68 -0
  23. package/dist/components/Form/index.d.ts +7 -0
  24. package/dist/components/IconButton/index.d.ts +8 -0
  25. package/dist/components/IconButton/stories.d.ts +6 -0
  26. package/dist/components/Loader/index.d.ts +8 -0
  27. package/dist/components/Loader/stories.d.ts +53 -0
  28. package/dist/components/TruncateText/index.d.ts +7 -0
  29. package/dist/components/TruncateText/stories.d.ts +39 -0
  30. package/dist/components/WithIcon/index.d.ts +7 -0
  31. package/dist/components/WithIcon/stories.d.ts +49 -0
  32. package/dist/components/WithLabel/index.d.ts +7 -0
  33. package/dist/components/WithLabel/stories.d.ts +56 -0
  34. package/dist/components/WithTooltip/index.d.ts +42 -0
  35. package/dist/components/WithTooltip/stories.d.ts +60 -0
  36. package/dist/components/index.d.ts +11 -0
  37. package/dist/components/shadcn/accordion.d.ts +9 -0
  38. package/dist/components/shadcn/avatar.d.ts +6 -0
  39. package/dist/components/shadcn/breadcrumb.d.ts +15 -0
  40. package/dist/components/shadcn/button.d.ts +12 -0
  41. package/dist/components/shadcn/checkbox.d.ts +4 -0
  42. package/dist/components/shadcn/collapsible.d.ts +5 -0
  43. package/dist/components/shadcn/dialog.d.ts +25 -0
  44. package/dist/components/shadcn/dropdown-menu.d.ts +27 -0
  45. package/dist/components/shadcn/form.d.ts +25 -0
  46. package/dist/components/shadcn/input.d.ts +4 -0
  47. package/dist/components/shadcn/label.d.ts +5 -0
  48. package/dist/components/shadcn/popover.d.ts +6 -0
  49. package/dist/components/shadcn/radio-group.d.ts +5 -0
  50. package/dist/components/shadcn/scroll-area.d.ts +5 -0
  51. package/dist/components/shadcn/select.d.ts +13 -0
  52. package/dist/components/shadcn/separator.d.ts +4 -0
  53. package/dist/components/shadcn/sheet.d.ts +30 -0
  54. package/dist/components/shadcn/sidebar.d.ts +67 -0
  55. package/dist/components/shadcn/skeleton.d.ts +2 -0
  56. package/dist/components/shadcn/slider.d.ts +4 -0
  57. package/dist/components/shadcn/switch.d.ts +4 -0
  58. package/dist/components/shadcn/tabs.d.ts +7 -0
  59. package/dist/components/shadcn/textarea.d.ts +11 -0
  60. package/dist/components/shadcn/tooltip.d.ts +12 -0
  61. package/dist/components/shadcn/utils.d.ts +2 -0
  62. package/dist/hooks/useIsMobile.d.ts +1 -0
  63. package/dist/hooks/useMergeRefs.d.ts +6 -0
  64. package/dist/index.d.ts +5 -0
  65. package/dist/index.js +13540 -0
  66. package/dist/style.css +1 -0
  67. package/dist/utils/context.d.ts +6 -0
  68. package/package.json +34 -0
@@ -0,0 +1,39 @@
1
+ import type { StoryObj } from '@storybook/react-vite';
2
+ import { Label } from '.';
3
+ type LabelProps = Parameters<typeof Label>[0];
4
+ interface CssVariablesProps {
5
+ cssLabelFontSize?: string;
6
+ cssLabelFontWeight?: string;
7
+ cssLabelFontColor?: string;
8
+ }
9
+ declare const meta: {
10
+ title: string;
11
+ component: typeof Label;
12
+ parameters: {
13
+ layout: string;
14
+ docs: {
15
+ description: {
16
+ component: string;
17
+ };
18
+ };
19
+ };
20
+ argTypes: {
21
+ children: {
22
+ control: {
23
+ type: "text";
24
+ };
25
+ description: string;
26
+ };
27
+ className: {
28
+ control: {
29
+ type: "text";
30
+ };
31
+ description: string;
32
+ };
33
+ };
34
+ render: ({ cssLabelFontSize, cssLabelFontWeight, cssLabelFontColor, ...args }: LabelProps & CssVariablesProps) => import("react/jsx-runtime").JSX.Element;
35
+ tags: string[];
36
+ };
37
+ export default meta;
38
+ type Story = StoryObj<typeof meta>;
39
+ export declare const Default: Story;
@@ -0,0 +1,28 @@
1
+ import React from 'react';
2
+ import { InputProps } from 'components/Form/Input';
3
+ export interface NumberInputProps extends Omit<React.ComponentPropsWithoutRef<'input'>, 'size'> {
4
+ min?: number;
5
+ max?: number;
6
+ value: string;
7
+ onChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
8
+ onBlur?: (e: React.FocusEvent<HTMLInputElement>) => void;
9
+ notAllowedKeys?: string[];
10
+ className?: string;
11
+ inputClassName?: string;
12
+ numberOnly?: boolean;
13
+ name?: string;
14
+ isInvalid?: boolean;
15
+ size?: InputProps['size'];
16
+ style?: React.CSSProperties;
17
+ inputStyle?: React.CSSProperties;
18
+ disabled?: boolean;
19
+ step?: number;
20
+ readOnly?: boolean;
21
+ testId?: string;
22
+ decimalScale?: number;
23
+ ['data-type']?: string;
24
+ clearable?: boolean;
25
+ hasError?: boolean;
26
+ }
27
+ declare const NumberInput: React.ForwardRefExoticComponent<NumberInputProps & React.RefAttributes<HTMLInputElement>>;
28
+ export { NumberInput };
@@ -0,0 +1,98 @@
1
+ import type { StoryObj } from '@storybook/react-vite';
2
+ import { NumberInput } from './index';
3
+ type NumberInputProps = Parameters<typeof NumberInput>[0];
4
+ declare const meta: {
5
+ title: string;
6
+ component: import("react").ForwardRefExoticComponent<import("./index").NumberInputProps & import("react").RefAttributes<HTMLInputElement>>;
7
+ parameters: {
8
+ layout: string;
9
+ docs: {
10
+ description: {
11
+ component: string;
12
+ };
13
+ };
14
+ };
15
+ argTypes: {
16
+ value: {
17
+ control: {
18
+ type: "text";
19
+ };
20
+ description: string;
21
+ };
22
+ onChange: {
23
+ description: string;
24
+ };
25
+ size: {
26
+ control: {
27
+ type: "select";
28
+ };
29
+ options: string[];
30
+ description: string;
31
+ };
32
+ min: {
33
+ control: {
34
+ type: "number";
35
+ };
36
+ description: string;
37
+ };
38
+ max: {
39
+ control: {
40
+ type: "number";
41
+ };
42
+ description: string;
43
+ };
44
+ step: {
45
+ control: {
46
+ type: "number";
47
+ };
48
+ description: string;
49
+ };
50
+ decimalScale: {
51
+ control: {
52
+ type: "number";
53
+ };
54
+ description: string;
55
+ };
56
+ disabled: {
57
+ control: {
58
+ type: "boolean";
59
+ };
60
+ description: string;
61
+ };
62
+ readOnly: {
63
+ control: {
64
+ type: "boolean";
65
+ };
66
+ description: string;
67
+ };
68
+ hasError: {
69
+ control: {
70
+ type: "boolean";
71
+ };
72
+ description: string;
73
+ };
74
+ isInvalid: {
75
+ control: {
76
+ type: "boolean";
77
+ };
78
+ description: string;
79
+ };
80
+ numberOnly: {
81
+ control: {
82
+ type: "boolean";
83
+ };
84
+ description: string;
85
+ };
86
+ placeholder: {
87
+ control: {
88
+ type: "text";
89
+ };
90
+ description: string;
91
+ };
92
+ };
93
+ render: (args: NumberInputProps) => import("react/jsx-runtime").JSX.Element;
94
+ tags: string[];
95
+ };
96
+ export default meta;
97
+ type Story = StoryObj<typeof meta>;
98
+ export declare const Default: Story;
@@ -0,0 +1,11 @@
1
+ import { Option as RCSelectOption, SelectProps as RCSelectProps } from 'rc-select';
2
+ import { DefaultOptionType } from 'rc-select/lib/Select';
3
+ import { BaseOptionType } from 'rc-select/lib/Select';
4
+ export type SelectProps = Omit<RCSelectProps, 'prefixCls'> & {
5
+ optionRenderType?: 'normal' | 'checkbox';
6
+ size?: 'sm' | 'md' | 'lg';
7
+ hasError?: boolean;
8
+ };
9
+ export type SelectOptionType = BaseOptionType | DefaultOptionType;
10
+ export declare function FormSelect({ options, labelInValue, size, showSearch, optionRenderType, getPopupContainer, filterOption, allowClear, suffixIcon, tagRender, hasError, className, placeholder, ...props }: SelectProps): import("react/jsx-runtime").JSX.Element;
11
+ export { RCSelectOption as FormSelectOption };
@@ -0,0 +1,69 @@
1
+ import type { StoryObj } from '@storybook/react-vite';
2
+ import { FormSelect } from '.';
3
+ type SelectProps = Parameters<typeof FormSelect>[0];
4
+ interface CssVariablesProps {
5
+ cssSelectPlaceholderColor?: string;
6
+ }
7
+ declare const meta: {
8
+ title: string;
9
+ component: typeof FormSelect;
10
+ parameters: {
11
+ layout: string;
12
+ docs: {
13
+ description: {
14
+ component: string;
15
+ };
16
+ };
17
+ };
18
+ argTypes: {
19
+ size: {
20
+ control: {
21
+ type: "select";
22
+ };
23
+ options: string[];
24
+ description: string;
25
+ };
26
+ hasError: {
27
+ control: {
28
+ type: "boolean";
29
+ };
30
+ description: string;
31
+ };
32
+ disabled: {
33
+ control: {
34
+ type: "boolean";
35
+ };
36
+ description: string;
37
+ };
38
+ placeholder: {
39
+ control: {
40
+ type: "text";
41
+ };
42
+ description: string;
43
+ };
44
+ showSearch: {
45
+ control: {
46
+ type: "boolean";
47
+ };
48
+ description: string;
49
+ };
50
+ optionRenderType: {
51
+ control: {
52
+ type: "select";
53
+ };
54
+ options: string[];
55
+ description: string;
56
+ };
57
+ className: {
58
+ control: {
59
+ type: "text";
60
+ };
61
+ description: string;
62
+ };
63
+ };
64
+ render: ({ cssSelectPlaceholderColor, ...args }: SelectProps & CssVariablesProps) => import("react/jsx-runtime").JSX.Element;
65
+ tags: string[];
66
+ };
67
+ export default meta;
68
+ type Story = StoryObj<typeof meta>;
69
+ export declare const Default: Story;
@@ -0,0 +1,12 @@
1
+ import { type VariantProps } from 'class-variance-authority';
2
+ import React from 'react';
3
+ import { TextareaAutosize as ShadcnTextareaAutosize } from 'components/shadcn/textarea';
4
+ declare const inputVariants: (props?: ({
5
+ style?: "default" | "error" | null | undefined;
6
+ size?: "default" | "sm" | "md" | "lg" | null | undefined;
7
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
8
+ export interface TextareaAutosizeProps extends Omit<React.ComponentProps<typeof ShadcnTextareaAutosize>, 'size'>, Omit<VariantProps<typeof inputVariants>, 'style'> {
9
+ error?: boolean;
10
+ }
11
+ export declare const Textarea: React.ForwardRefExoticComponent<Omit<TextareaAutosizeProps, "ref"> & React.RefAttributes<HTMLTextAreaElement>>;
12
+ export {};
@@ -0,0 +1,68 @@
1
+ import type { StoryObj } from '@storybook/react-vite';
2
+ declare const meta: {
3
+ title: string;
4
+ component: import("react").ForwardRefExoticComponent<Omit<import(".").TextareaAutosizeProps, "ref"> & import("react").RefAttributes<HTMLTextAreaElement>>;
5
+ parameters: {
6
+ layout: string;
7
+ docs: {
8
+ description: {
9
+ component: string;
10
+ };
11
+ };
12
+ };
13
+ argTypes: {
14
+ size: {
15
+ control: {
16
+ type: "select";
17
+ };
18
+ options: string[];
19
+ description: string;
20
+ };
21
+ error: {
22
+ control: {
23
+ type: "boolean";
24
+ };
25
+ description: string;
26
+ };
27
+ placeholder: {
28
+ control: {
29
+ type: "text";
30
+ };
31
+ description: string;
32
+ };
33
+ disabled: {
34
+ control: {
35
+ type: "boolean";
36
+ };
37
+ description: string;
38
+ };
39
+ rows: {
40
+ control: {
41
+ type: "number";
42
+ };
43
+ description: string;
44
+ };
45
+ minRows: {
46
+ control: {
47
+ type: "number";
48
+ };
49
+ description: string;
50
+ };
51
+ maxRows: {
52
+ control: {
53
+ type: "number";
54
+ };
55
+ description: string;
56
+ };
57
+ className: {
58
+ control: {
59
+ type: "text";
60
+ };
61
+ description: string;
62
+ };
63
+ };
64
+ tags: string[];
65
+ };
66
+ export default meta;
67
+ type Story = StoryObj<typeof meta>;
68
+ export declare const Default: Story;
@@ -0,0 +1,7 @@
1
+ export * from '../shadcn/form';
2
+ export * from './Input';
3
+ export * from './NumberInput';
4
+ export * from './Label';
5
+ export * from './Group';
6
+ export * from './Select';
7
+ export * from './Textarea';
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { ButtonProps } from '../Button';
3
+ export interface IconButtonProps extends Omit<ButtonProps, 'size' | 'tooltip'> {
4
+ tooltip?: ButtonProps['tooltip'];
5
+ icon: React.ReactNode;
6
+ isEnabling?: boolean;
7
+ }
8
+ export declare const IconButton: ({ tooltip, icon, variant, isEnabling, ...props }: IconButtonProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import type { Meta, StoryObj } from '@storybook/react-vite';
2
+ import { IconButton } from '.';
3
+ declare const meta: Meta<typeof IconButton>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Default: Story;
@@ -0,0 +1,8 @@
1
+ export type LoaderSize = 'tiny' | 'small' | 'medium' | 'large' | 'extraLarge';
2
+ interface LoaderProps extends React.HTMLAttributes<HTMLDivElement> {
3
+ color?: string;
4
+ size?: LoaderSize;
5
+ duration?: number;
6
+ }
7
+ export declare function Loader({ color, size, duration, ...props }: LoaderProps): import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,53 @@
1
+ import type { StoryObj } from '@storybook/react-vite';
2
+ import { Loader } from '.';
3
+ type LoaderProps = Parameters<typeof Loader>[0];
4
+ interface CssVariablesProps {
5
+ cssLoadingColorRgb?: string;
6
+ }
7
+ declare const meta: {
8
+ title: string;
9
+ component: typeof Loader;
10
+ parameters: {
11
+ layout: string;
12
+ docs: {
13
+ description: {
14
+ component: string;
15
+ };
16
+ };
17
+ };
18
+ argTypes: {
19
+ size: {
20
+ control: {
21
+ type: "select";
22
+ };
23
+ options: string[];
24
+ description: string;
25
+ };
26
+ color: {
27
+ control: {
28
+ type: "color";
29
+ };
30
+ description: string;
31
+ };
32
+ duration: {
33
+ control: {
34
+ type: "range";
35
+ min: number;
36
+ max: number;
37
+ step: number;
38
+ };
39
+ description: string;
40
+ };
41
+ className: {
42
+ control: {
43
+ type: "text";
44
+ };
45
+ description: string;
46
+ };
47
+ };
48
+ render: ({ cssLoadingColorRgb, ...args }: LoaderProps & CssVariablesProps) => import("react/jsx-runtime").JSX.Element;
49
+ tags: string[];
50
+ };
51
+ export default meta;
52
+ type Story = StoryObj<typeof meta>;
53
+ export declare const Default: Story;
@@ -0,0 +1,7 @@
1
+ import { TooltipContent, TooltipPortal } from '../shadcn/tooltip';
2
+ export interface TruncateTextProps extends React.HTMLAttributes<HTMLDivElement> {
3
+ lineClamp?: number;
4
+ tooltipContentProps?: React.ComponentPropsWithoutRef<typeof TooltipContent>;
5
+ portalProps?: React.ComponentPropsWithoutRef<typeof TooltipPortal>;
6
+ }
7
+ export declare const TruncateText: ({ children, lineClamp, tooltipContentProps, portalProps, ...rest }: TruncateTextProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,39 @@
1
+ import type { StoryObj } from '@storybook/react-vite';
2
+ declare const meta: {
3
+ title: string;
4
+ component: ({ children, lineClamp, tooltipContentProps, portalProps, ...rest }: import(".").TruncateTextProps) => import("react/jsx-runtime").JSX.Element;
5
+ parameters: {
6
+ layout: string;
7
+ docs: {
8
+ description: {
9
+ component: string;
10
+ };
11
+ };
12
+ };
13
+ argTypes: {
14
+ lineClamp: {
15
+ control: {
16
+ type: "number";
17
+ min: number;
18
+ max: number;
19
+ };
20
+ description: string;
21
+ };
22
+ children: {
23
+ control: {
24
+ type: "text";
25
+ };
26
+ description: string;
27
+ };
28
+ className: {
29
+ control: {
30
+ type: "text";
31
+ };
32
+ description: string;
33
+ };
34
+ };
35
+ tags: string[];
36
+ };
37
+ export default meta;
38
+ type Story = StoryObj<typeof meta>;
39
+ export declare const Default: Story;
@@ -0,0 +1,7 @@
1
+ export declare function WithIcon({ children, icon, className, iconClassName, contentClassName, ...props }: {
2
+ children: React.ReactNode;
3
+ icon: React.ReactNode;
4
+ className?: string;
5
+ iconClassName?: string;
6
+ contentClassName?: string;
7
+ } & React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,49 @@
1
+ import type { StoryObj } from '@storybook/react-vite';
2
+ import { WithIcon } from '.';
3
+ type WithIconProps = Parameters<typeof WithIcon>[0];
4
+ interface CssVariablesProps {
5
+ cssWithIconGap?: string;
6
+ }
7
+ declare const meta: {
8
+ title: string;
9
+ component: typeof WithIcon;
10
+ parameters: {
11
+ layout: string;
12
+ docs: {
13
+ description: {
14
+ component: string;
15
+ };
16
+ };
17
+ };
18
+ argTypes: {
19
+ children: {
20
+ control: {
21
+ type: "text";
22
+ };
23
+ description: string;
24
+ };
25
+ className: {
26
+ control: {
27
+ type: "text";
28
+ };
29
+ description: string;
30
+ };
31
+ iconClassName: {
32
+ control: {
33
+ type: "text";
34
+ };
35
+ description: string;
36
+ };
37
+ contentClassName: {
38
+ control: {
39
+ type: "text";
40
+ };
41
+ description: string;
42
+ };
43
+ };
44
+ render: ({ cssWithIconGap, ...args }: WithIconProps & CssVariablesProps) => import("react/jsx-runtime").JSX.Element;
45
+ tags: string[];
46
+ };
47
+ export default meta;
48
+ type Story = StoryObj<typeof meta>;
49
+ export declare const Default: Story;
@@ -0,0 +1,7 @@
1
+ export declare function WithLabel({ children, label, labelClassName, labelProps, className, direction, ...props }: {
2
+ children: React.ReactNode;
3
+ label: React.ReactNode;
4
+ labelClassName?: string;
5
+ labelProps?: React.LabelHTMLAttributes<HTMLLabelElement>;
6
+ direction?: 'vertical' | 'horizontal';
7
+ } & React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,56 @@
1
+ import type { StoryObj } from '@storybook/react-vite';
2
+ import { WithLabel } from '.';
3
+ type WithLabelProps = Parameters<typeof WithLabel>[0];
4
+ interface CssVariablesProps {
5
+ cssWithLabelGap?: string;
6
+ }
7
+ declare const meta: {
8
+ title: string;
9
+ component: typeof WithLabel;
10
+ parameters: {
11
+ layout: string;
12
+ docs: {
13
+ description: {
14
+ component: string;
15
+ };
16
+ };
17
+ };
18
+ argTypes: {
19
+ label: {
20
+ control: {
21
+ type: "text";
22
+ };
23
+ description: string;
24
+ };
25
+ direction: {
26
+ control: {
27
+ type: "select";
28
+ };
29
+ options: string[];
30
+ description: string;
31
+ };
32
+ className: {
33
+ control: {
34
+ type: "text";
35
+ };
36
+ description: string;
37
+ };
38
+ labelClassName: {
39
+ control: {
40
+ type: "text";
41
+ };
42
+ description: string;
43
+ };
44
+ labelProps: {
45
+ control: {
46
+ type: "object";
47
+ };
48
+ description: string;
49
+ };
50
+ };
51
+ render: ({ cssWithLabelGap, ...args }: WithLabelProps & CssVariablesProps) => import("react/jsx-runtime").JSX.Element;
52
+ tags: string[];
53
+ };
54
+ export default meta;
55
+ type Story = StoryObj<typeof meta>;
56
+ export declare const Default: Story;
@@ -0,0 +1,42 @@
1
+ import React from 'react';
2
+ import { TooltipContent, TooltipPortal } from '../shadcn/tooltip';
3
+ type Props = {
4
+ /**
5
+ * The element that triggers the tooltip on hover
6
+ */
7
+ children: React.ReactNode;
8
+ /**
9
+ * The content to display in the tooltip
10
+ */
11
+ content: React.ReactNode;
12
+ /**
13
+ * Optional CSS class to apply to the content
14
+ */
15
+ tooltipContentClassName?: string;
16
+ /**
17
+ * Optional CSS class to apply to the text content
18
+ */
19
+ textContentClassName?: string;
20
+ /**
21
+ * Optional CSS class to apply to the trigger wrapper
22
+ */
23
+ triggerClassName?: string;
24
+ /**
25
+ * Whether the tooltip is disabled
26
+ */
27
+ disabled?: boolean;
28
+ /**
29
+ * Optional props for the tooltip portal
30
+ */
31
+ portalProps?: React.ComponentPropsWithoutRef<typeof TooltipPortal>;
32
+ /**
33
+ * Optional props for the tooltip content
34
+ */
35
+ contentProps?: React.ComponentPropsWithoutRef<typeof TooltipContent>;
36
+ };
37
+ /**
38
+ * A reusable tooltip component that simplifies the tooltip implementation
39
+ * Just pass a trigger element and tooltip content
40
+ */
41
+ export declare const WithTooltip: React.FC<Props>;
42
+ export {};