@pagenflow/email 1.0.1 → 1.1.0
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/components/Body.d.ts +19 -0
- package/dist/components/BodyDev.d.ts +8 -0
- package/dist/components/Button.d.ts +26 -0
- package/dist/components/Column.d.ts +52 -0
- package/dist/components/Container.d.ts +69 -0
- package/dist/components/Divider.d.ts +20 -0
- package/dist/components/Head.d.ts +10 -0
- package/dist/components/HeadDev.d.ts +14 -0
- package/dist/components/Heading.d.ts +34 -0
- package/dist/components/Html.d.ts +13 -0
- package/dist/components/Image.d.ts +29 -0
- package/dist/components/Row.d.ts +47 -0
- package/dist/components/Section.d.ts +46 -0
- package/dist/components/Spacer.d.ts +12 -0
- package/dist/components/Text.d.ts +38 -0
- package/dist/index.cjs.js +18244 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +30 -2
- package/dist/index.esm.js +18231 -4
- package/dist/index.esm.js.map +1 -1
- package/dist/utils/memoUtils.d.ts +28 -0
- package/package.json +6 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
export interface GlobalConfig {
|
|
3
|
+
color?: string;
|
|
4
|
+
fontSize?: string;
|
|
5
|
+
backgroundColor?: string;
|
|
6
|
+
lineHeight?: string;
|
|
7
|
+
backgroundImage?: {
|
|
8
|
+
src?: string;
|
|
9
|
+
repeat?: string;
|
|
10
|
+
size?: string;
|
|
11
|
+
position?: string;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
export interface BodyProps {
|
|
15
|
+
children: ReactNode;
|
|
16
|
+
/** Global configuration from GlobalEditor */
|
|
17
|
+
config?: GlobalConfig;
|
|
18
|
+
}
|
|
19
|
+
export default function Body({ children, config }: BodyProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
import { GlobalConfig } from "./Body";
|
|
3
|
+
export interface BodyDevProps {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
/** Global configuration from GlobalEditor */
|
|
6
|
+
config?: GlobalConfig;
|
|
7
|
+
}
|
|
8
|
+
export default function BodyDev({ children, config }: BodyDevProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
export interface ButtonConfig {
|
|
3
|
+
/** The destination URL for the button. Required. */
|
|
4
|
+
href: string;
|
|
5
|
+
/** Button text. */
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
/** Background color. Required for VML compatibility. */
|
|
8
|
+
backgroundColor?: string;
|
|
9
|
+
/** Text color. */
|
|
10
|
+
color?: string;
|
|
11
|
+
/** Padding for the button area (e.g., "12px 24px"). */
|
|
12
|
+
padding?: string;
|
|
13
|
+
/** Border radius (e.g., "3px"). */
|
|
14
|
+
borderRadius?: string;
|
|
15
|
+
/** Width of the button (e.g., "200px" or "100%"). */
|
|
16
|
+
width?: string;
|
|
17
|
+
/** Horizontal alignment within the container. */
|
|
18
|
+
justifyContent?: "start" | "center" | "end";
|
|
19
|
+
}
|
|
20
|
+
export type ButtonProps = {
|
|
21
|
+
config: ButtonConfig;
|
|
22
|
+
devMode?: boolean;
|
|
23
|
+
};
|
|
24
|
+
declare function Button({ config, devMode }: ButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
declare const _default: import("react").MemoExoticComponent<typeof Button>;
|
|
26
|
+
export default _default;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
export interface BackgroundImageType {
|
|
3
|
+
src: string;
|
|
4
|
+
repeat?: "no-repeat" | "repeat" | "repeat-x" | "repeat-y";
|
|
5
|
+
size?: "auto" | "cover" | "contain";
|
|
6
|
+
position?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface BorderConfig {
|
|
9
|
+
width?: string;
|
|
10
|
+
style?: "solid" | "dashed" | "dotted" | "double";
|
|
11
|
+
color?: string;
|
|
12
|
+
top?: {
|
|
13
|
+
width: string;
|
|
14
|
+
style: string;
|
|
15
|
+
color: string;
|
|
16
|
+
};
|
|
17
|
+
right?: {
|
|
18
|
+
width: string;
|
|
19
|
+
style: string;
|
|
20
|
+
color: string;
|
|
21
|
+
};
|
|
22
|
+
bottom?: {
|
|
23
|
+
width: string;
|
|
24
|
+
style: string;
|
|
25
|
+
color: string;
|
|
26
|
+
};
|
|
27
|
+
left?: {
|
|
28
|
+
width: string;
|
|
29
|
+
style: string;
|
|
30
|
+
color: string;
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export type ColumnConfig = {
|
|
34
|
+
borderRadius?: string;
|
|
35
|
+
padding?: string;
|
|
36
|
+
border?: BorderConfig;
|
|
37
|
+
alignItems?: "start" | "center" | "end";
|
|
38
|
+
justifyContent?: "start" | "center" | "end";
|
|
39
|
+
backgroundColor?: string;
|
|
40
|
+
backgroundImage?: BackgroundImageType;
|
|
41
|
+
width?: string;
|
|
42
|
+
height?: string;
|
|
43
|
+
gap?: string;
|
|
44
|
+
};
|
|
45
|
+
export type ColumnProps = {
|
|
46
|
+
children: ReactNode;
|
|
47
|
+
config: ColumnConfig;
|
|
48
|
+
devNode?: ReactNode;
|
|
49
|
+
};
|
|
50
|
+
declare function Column({ children, config, devNode }: ColumnProps): import("react/jsx-runtime").JSX.Element;
|
|
51
|
+
declare const _default: import("react").MemoExoticComponent<typeof Column>;
|
|
52
|
+
export default _default;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
export type WidthType = "full" | "fixed";
|
|
3
|
+
export type WidthDistributionType = "equals" | "ratio" | "manual";
|
|
4
|
+
export interface RatioConstraint {
|
|
5
|
+
mainChildIndex: number;
|
|
6
|
+
value: [number, number];
|
|
7
|
+
}
|
|
8
|
+
export type ChildrenConstraints = {
|
|
9
|
+
widthDistributionType: "equals";
|
|
10
|
+
} | {
|
|
11
|
+
widthDistributionType: "ratio";
|
|
12
|
+
ratio: RatioConstraint;
|
|
13
|
+
} | {
|
|
14
|
+
widthDistributionType: "manual";
|
|
15
|
+
widths: string[];
|
|
16
|
+
};
|
|
17
|
+
export interface BorderConfig {
|
|
18
|
+
width?: string;
|
|
19
|
+
style?: "solid" | "dashed" | "dotted" | "double";
|
|
20
|
+
color?: string;
|
|
21
|
+
top?: {
|
|
22
|
+
width: string;
|
|
23
|
+
style: string;
|
|
24
|
+
color: string;
|
|
25
|
+
};
|
|
26
|
+
right?: {
|
|
27
|
+
width: string;
|
|
28
|
+
style: string;
|
|
29
|
+
color: string;
|
|
30
|
+
};
|
|
31
|
+
bottom?: {
|
|
32
|
+
width: string;
|
|
33
|
+
style: string;
|
|
34
|
+
color: string;
|
|
35
|
+
};
|
|
36
|
+
left?: {
|
|
37
|
+
width: string;
|
|
38
|
+
style: string;
|
|
39
|
+
color: string;
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export interface ContainerConfig {
|
|
43
|
+
widthType: WidthType;
|
|
44
|
+
childrenConstraints: ChildrenConstraints;
|
|
45
|
+
shouldWrap?: boolean;
|
|
46
|
+
borderRadius?: string;
|
|
47
|
+
border?: BorderConfig;
|
|
48
|
+
padding?: string;
|
|
49
|
+
gap?: string;
|
|
50
|
+
width?: string;
|
|
51
|
+
height?: string;
|
|
52
|
+
alignItems?: "start" | "center" | "end";
|
|
53
|
+
justifyContent?: "start" | "center" | "end";
|
|
54
|
+
backgroundColor?: string;
|
|
55
|
+
backgroundImage?: {
|
|
56
|
+
src: string;
|
|
57
|
+
repeat?: "no-repeat" | "repeat" | "repeat-x" | "repeat-y";
|
|
58
|
+
size?: "auto" | "cover" | "contain";
|
|
59
|
+
position?: string;
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
export type ContainerProps = {
|
|
63
|
+
config: ContainerConfig;
|
|
64
|
+
children: ReactNode;
|
|
65
|
+
devMode?: boolean;
|
|
66
|
+
};
|
|
67
|
+
declare function Container({ children, config, devMode }: ContainerProps): import("react/jsx-runtime").JSX.Element;
|
|
68
|
+
declare const _default: import("react").MemoExoticComponent<typeof Container>;
|
|
69
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
export interface DividerConfig {
|
|
3
|
+
/** Thickness of the line (e.g., "1px"). */
|
|
4
|
+
height?: string;
|
|
5
|
+
/** Color of the line. */
|
|
6
|
+
color?: string;
|
|
7
|
+
/** Width of the line (e.g., "100%" or "300px"). */
|
|
8
|
+
width?: string;
|
|
9
|
+
/** Spacing above and below the divider (e.g., "20px 0"). */
|
|
10
|
+
margin?: string;
|
|
11
|
+
/** Horizontal alignment of the divider. */
|
|
12
|
+
align?: "left" | "center" | "right";
|
|
13
|
+
}
|
|
14
|
+
export type DividerProps = {
|
|
15
|
+
config: DividerConfig;
|
|
16
|
+
devNode?: ReactNode;
|
|
17
|
+
};
|
|
18
|
+
declare function Divider({ config, devNode }: DividerProps): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
declare const _default: import("react").MemoExoticComponent<typeof Divider>;
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
export interface HeadProps {
|
|
3
|
+
/** Additional elements like custom <style> blocks, <title>, etc. */
|
|
4
|
+
children?: ReactNode;
|
|
5
|
+
/** Global background color (used in CSS reset). */
|
|
6
|
+
backgroundColor?: string;
|
|
7
|
+
/** Subject line for the email title. */
|
|
8
|
+
title?: string;
|
|
9
|
+
}
|
|
10
|
+
export default function Head({ children, backgroundColor, title, }: HeadProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
export interface HeadDevProps {
|
|
3
|
+
/** Additional elements like custom <style> blocks, <title>, etc. */
|
|
4
|
+
children?: ReactNode;
|
|
5
|
+
/** Global background color (used in CSS reset). */
|
|
6
|
+
backgroundColor?: string;
|
|
7
|
+
/** Subject line for the email title. */
|
|
8
|
+
title?: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Dev variant of Head component for use in builder canvas.
|
|
12
|
+
* Injects styles directly into document head to maintain email behavior during development.
|
|
13
|
+
*/
|
|
14
|
+
export default function HeadDev({ children, backgroundColor, title, }: HeadDevProps): null;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
export type HeadingLevel = "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
3
|
+
export interface HeadingConfig {
|
|
4
|
+
/** The text content. */
|
|
5
|
+
text: ReactNode;
|
|
6
|
+
/** HTML heading level (h1 through h6). */
|
|
7
|
+
level?: HeadingLevel;
|
|
8
|
+
/** Padding around the heading (e.g., "10px 0"). */
|
|
9
|
+
padding?: string;
|
|
10
|
+
/** Text color. */
|
|
11
|
+
color?: string;
|
|
12
|
+
/** Horizontal text alignment. */
|
|
13
|
+
textAlign?: "left" | "center" | "right" | "justify";
|
|
14
|
+
/** Font size (e.g., '24px'). Overrides default size for the level. */
|
|
15
|
+
fontSize?: string;
|
|
16
|
+
/** Font weight (e.g., 'normal', 'bold', or '700'). */
|
|
17
|
+
fontWeight?: string;
|
|
18
|
+
/** Font style (e.g., 'italic'). */ fontStyle?: string;
|
|
19
|
+
/** Line height (e.g., '1.3' or '30px'). */
|
|
20
|
+
lineHeight?: string;
|
|
21
|
+
/** Letter spacing (e.g., '0.5px', '1px'). */ letterSpacing?: string;
|
|
22
|
+
/** Text transform (e.g., 'uppercase', 'lowercase', 'capitalize'). */ textTransform?: string;
|
|
23
|
+
/** Text decoration (e.g., 'underline', 'line-through'). */ textDecoration?: string;
|
|
24
|
+
/** Text direction (e.g., 'ltr', 'rtl'). */ direction?: string;
|
|
25
|
+
/** Vertical alignment (e.g., 'sub', 'super'). Applied to content wrapper in Text, applied to TD here for alignment. */ verticalAlign?: string;
|
|
26
|
+
/** Background color of the heading block. */ backgroundColor?: string;
|
|
27
|
+
}
|
|
28
|
+
export type HeadingProps = {
|
|
29
|
+
config: HeadingConfig;
|
|
30
|
+
devMode?: ReactNode;
|
|
31
|
+
};
|
|
32
|
+
declare function Heading({ config, devMode }: HeadingProps): import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
declare const _default: import("react").MemoExoticComponent<typeof Heading>;
|
|
34
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
|
+
export interface HtmlProps {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
backgroundColor?: string;
|
|
5
|
+
}
|
|
6
|
+
export default function Html({ children, backgroundColor, }: HtmlProps): React.DetailedReactHTMLElement<{
|
|
7
|
+
xmlns: string;
|
|
8
|
+
"xmlns:v": string;
|
|
9
|
+
"xmlns:o": string;
|
|
10
|
+
lang: string;
|
|
11
|
+
xmlLang: string;
|
|
12
|
+
bgcolor: string;
|
|
13
|
+
}, HTMLElement>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
export interface ImageConfig {
|
|
3
|
+
/** The source URL of the image. Required. */
|
|
4
|
+
src: string;
|
|
5
|
+
/** Alt text for accessibility. Required. */
|
|
6
|
+
alt: string;
|
|
7
|
+
/** Width of the image. Can be fixed (e.g., "600px") or percentage (e.g., "100%"). */
|
|
8
|
+
width?: string;
|
|
9
|
+
/** Height of the image. Optional, usually auto-calculated if width is set. */
|
|
10
|
+
height?: string;
|
|
11
|
+
/** Background color of the containing TD/parent element if the image has transparency. */
|
|
12
|
+
backgroundColor?: string;
|
|
13
|
+
/** Padding around the image (applied to the containing TD). */
|
|
14
|
+
padding?: string;
|
|
15
|
+
/** Border radius for the image (CSS only, limited compatibility). */
|
|
16
|
+
borderRadius?: string;
|
|
17
|
+
/** Optional URL to make the image clickable */
|
|
18
|
+
href?: string;
|
|
19
|
+
/** Link target attribute (e.g., "_blank" for new window) */
|
|
20
|
+
target?: string;
|
|
21
|
+
}
|
|
22
|
+
export type ImageProps = {
|
|
23
|
+
config: ImageConfig;
|
|
24
|
+
devNode?: ReactNode;
|
|
25
|
+
devMode?: boolean;
|
|
26
|
+
};
|
|
27
|
+
declare function Image({ config, devNode, devMode }: ImageProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
declare const _default: import("react").MemoExoticComponent<typeof Image>;
|
|
29
|
+
export default _default;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
export type JustifyContent = "start" | "center" | "end";
|
|
3
|
+
export type AlignItems = "start" | "center" | "end";
|
|
4
|
+
export interface BorderConfig {
|
|
5
|
+
width?: string;
|
|
6
|
+
style?: "solid" | "dashed" | "dotted" | "double";
|
|
7
|
+
color?: string;
|
|
8
|
+
top?: {
|
|
9
|
+
width: string;
|
|
10
|
+
style: string;
|
|
11
|
+
color: string;
|
|
12
|
+
};
|
|
13
|
+
right?: {
|
|
14
|
+
width: string;
|
|
15
|
+
style: string;
|
|
16
|
+
color: string;
|
|
17
|
+
};
|
|
18
|
+
bottom?: {
|
|
19
|
+
width: string;
|
|
20
|
+
style: string;
|
|
21
|
+
color: string;
|
|
22
|
+
};
|
|
23
|
+
left?: {
|
|
24
|
+
width: string;
|
|
25
|
+
style: string;
|
|
26
|
+
color: string;
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
export interface RowConfig {
|
|
30
|
+
gap?: string;
|
|
31
|
+
justifyContent?: JustifyContent;
|
|
32
|
+
alignItems?: AlignItems;
|
|
33
|
+
width?: string;
|
|
34
|
+
height?: string;
|
|
35
|
+
padding?: string;
|
|
36
|
+
backgroundColor?: string;
|
|
37
|
+
borderRadius?: string;
|
|
38
|
+
border?: BorderConfig;
|
|
39
|
+
}
|
|
40
|
+
export type RowProps = {
|
|
41
|
+
children: ReactNode;
|
|
42
|
+
config: RowConfig;
|
|
43
|
+
devNode?: ReactNode;
|
|
44
|
+
};
|
|
45
|
+
declare function Row({ children, config, devNode }: RowProps): import("react/jsx-runtime").JSX.Element;
|
|
46
|
+
declare const _default: import("react").MemoExoticComponent<typeof Row>;
|
|
47
|
+
export default _default;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
|
+
export interface BorderConfig {
|
|
3
|
+
width?: string;
|
|
4
|
+
style?: "solid" | "dashed" | "dotted" | "double";
|
|
5
|
+
color?: string;
|
|
6
|
+
top?: {
|
|
7
|
+
width: string;
|
|
8
|
+
style: string;
|
|
9
|
+
color: string;
|
|
10
|
+
};
|
|
11
|
+
right?: {
|
|
12
|
+
width: string;
|
|
13
|
+
style: string;
|
|
14
|
+
color: string;
|
|
15
|
+
};
|
|
16
|
+
bottom?: {
|
|
17
|
+
width: string;
|
|
18
|
+
style: string;
|
|
19
|
+
color: string;
|
|
20
|
+
};
|
|
21
|
+
left?: {
|
|
22
|
+
width: string;
|
|
23
|
+
style: string;
|
|
24
|
+
color: string;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
export type SectionConfig = {
|
|
28
|
+
sectionType: "header" | "footer" | "content";
|
|
29
|
+
gap?: string;
|
|
30
|
+
backgroundColor?: string;
|
|
31
|
+
padding?: string;
|
|
32
|
+
border?: BorderConfig;
|
|
33
|
+
backgroundImage?: {
|
|
34
|
+
src: string;
|
|
35
|
+
repeat?: string;
|
|
36
|
+
size?: string;
|
|
37
|
+
position?: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
export interface SectionProps {
|
|
41
|
+
config: SectionConfig;
|
|
42
|
+
children: ReactNode;
|
|
43
|
+
devNode?: ReactNode;
|
|
44
|
+
}
|
|
45
|
+
declare const _default: React.NamedExoticComponent<SectionProps>;
|
|
46
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
export interface SpacerConfig {
|
|
3
|
+
/** The height of the vertical space (e.g., "20px"). Required. */
|
|
4
|
+
height: string;
|
|
5
|
+
}
|
|
6
|
+
export type SpacerProps = {
|
|
7
|
+
config: SpacerConfig;
|
|
8
|
+
devNode?: ReactNode;
|
|
9
|
+
};
|
|
10
|
+
declare function Spacer({ config, devNode }: SpacerProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
declare const _default: import("react").MemoExoticComponent<typeof Spacer>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
export interface TextConfig {
|
|
3
|
+
/** The text content or React nodes to render. */
|
|
4
|
+
text: string;
|
|
5
|
+
/** Padding around the text (applied to the containing TD). */
|
|
6
|
+
padding?: string;
|
|
7
|
+
/** Text color. */
|
|
8
|
+
color?: string;
|
|
9
|
+
/** Horizontal text alignment (e.g., 'left', 'center'). */
|
|
10
|
+
textAlign?: "left" | "center" | "right" | "justify";
|
|
11
|
+
/** Font size (e.g., '16px'). */
|
|
12
|
+
fontSize?: string;
|
|
13
|
+
/** Font weight (e.g., 'bold' or '700'). */
|
|
14
|
+
fontWeight?: string;
|
|
15
|
+
/** Font style (e.g., 'italic'). */
|
|
16
|
+
fontStyle?: string;
|
|
17
|
+
/** Line height (e.g., '1.5' or '24px'). */
|
|
18
|
+
lineHeight?: string;
|
|
19
|
+
/** Letter spacing (e.g., '0.5px', '1px'). */
|
|
20
|
+
letterSpacing?: string;
|
|
21
|
+
/** Text transform (e.g., 'uppercase', 'lowercase', 'capitalize'). */
|
|
22
|
+
textTransform?: string;
|
|
23
|
+
/** Text decoration (e.g., 'underline', 'line-through'). */
|
|
24
|
+
textDecoration?: string;
|
|
25
|
+
/** Text direction (e.g., 'ltr', 'rtl'). */
|
|
26
|
+
direction?: string;
|
|
27
|
+
/** Vertical alignment (e.g., 'sub', 'super'). */
|
|
28
|
+
verticalAlign?: string;
|
|
29
|
+
/** Background color of the text block. */
|
|
30
|
+
backgroundColor?: string;
|
|
31
|
+
}
|
|
32
|
+
export type TextProps = {
|
|
33
|
+
config: TextConfig;
|
|
34
|
+
devMode?: ReactNode;
|
|
35
|
+
};
|
|
36
|
+
declare function Text({ config, devMode }: TextProps): import("react/jsx-runtime").JSX.Element;
|
|
37
|
+
declare const _default: import("react").MemoExoticComponent<typeof Text>;
|
|
38
|
+
export default _default;
|