react-align 2.2.2 → 2.2.3

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.
package/dist/index.d.ts CHANGED
@@ -1,9 +1,8 @@
1
1
  import { CSSProperties } from 'react';
2
- import type { FunctionComponent } from 'react';
2
+ import { default as default_2 } from 'react';
3
+ import { JSX as JSX_2 } from 'react/jsx-runtime';
3
4
  import { PropsWithChildren } from 'react';
4
- import { default as React_2 } from 'react';
5
5
  import { ReactNode } from 'react';
6
- import type { SVGProps } from 'react';
7
6
 
8
7
  export declare type Alignment = "start" | "centered" | "end";
9
8
 
@@ -26,44 +25,22 @@ declare type AreaProps = {
26
25
  };
27
26
 
28
27
  declare const _default: {
29
- horizontalExtend: FunctionComponent<SVGProps<SVGSVGElement> & {
30
- title?: string | undefined;
31
- }>;
32
- horizontalNormal: FunctionComponent<SVGProps<SVGSVGElement> & {
33
- title?: string | undefined;
34
- }>;
35
- verticalExtend: FunctionComponent<SVGProps<SVGSVGElement> & {
36
- title?: string | undefined;
37
- }>;
38
- verticalNormal: FunctionComponent<SVGProps<SVGSVGElement> & {
39
- title?: string | undefined;
40
- }>;
41
- moveArrows: FunctionComponent<SVGProps<SVGSVGElement> & {
42
- title?: string | undefined;
43
- }>;
44
- alignStart: FunctionComponent<SVGProps<SVGSVGElement> & {
45
- title?: string | undefined;
46
- }>;
47
- alignCenter: FunctionComponent<SVGProps<SVGSVGElement> & {
48
- title?: string | undefined;
49
- }>;
50
- alignEnd: FunctionComponent<SVGProps<SVGSVGElement> & {
51
- title?: string | undefined;
52
- }>;
53
- alignStartV: FunctionComponent<SVGProps<SVGSVGElement> & {
54
- title?: string | undefined;
55
- }>;
56
- alignCenterV: FunctionComponent<SVGProps<SVGSVGElement> & {
57
- title?: string | undefined;
58
- }>;
59
- alignEndV: FunctionComponent<SVGProps<SVGSVGElement> & {
60
- title?: string | undefined;
61
- }>;
28
+ horizontalExtend: string;
29
+ horizontalNormal: string;
30
+ verticalExtend: string;
31
+ verticalNormal: string;
32
+ moveArrows: string;
33
+ alignStart: string;
34
+ alignCenter: string;
35
+ alignEnd: string;
36
+ alignStartV: string;
37
+ alignCenterV: string;
38
+ alignEndV: string;
62
39
  };
63
40
 
64
- export declare function GridArea({ id, className, vertical, stretch, middle, bottom, disabled, align, realignable, children, style, editorStyle, iconColor, onAlignChange, onClick, }: PropsWithChildren<AreaProps>): JSX.Element | null;
41
+ export declare function GridArea({ id, className, vertical, stretch, middle, bottom, disabled, align, realignable, children, style, editorStyle, iconColor, onAlignChange, onClick, }: PropsWithChildren<AreaProps>): JSX_2.Element | null;
65
42
 
66
- export declare function GridItem({ className, children, id, index, extendable, extended, disabled, style, editorStyle, iconColor, ...props }: ItemProps): JSX.Element;
43
+ export declare function GridItem({ className, children, id, index, extendable, extended, disabled, style, editorStyle, iconColor, ...props }: ItemProps): JSX_2.Element;
67
44
 
68
45
  export declare const GridSection: React.FC<GridSectionProps>;
69
46
 
@@ -95,7 +72,7 @@ declare type GridWrapperProps = {
95
72
  onExtend?: (id: string, extended: boolean) => void;
96
73
  };
97
74
 
98
- export declare const Icon: React_2.FC<IconProps>;
75
+ export declare const Icon: default_2.FC<IconProps>;
99
76
 
100
77
  declare type IconKeys = keyof typeof _default;
101
78