reactive-bulma 2.14.0 → 2.16.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +145 -38
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/atoms/Tile/index.d.ts +4 -0
- package/dist/cjs/types/components/atoms/index.d.ts +1 -0
- package/dist/cjs/types/components/molecules/Footer/index.d.ts +4 -0
- package/dist/cjs/types/components/molecules/TileBox/index.d.ts +4 -0
- package/dist/cjs/types/components/molecules/index.d.ts +2 -0
- package/dist/cjs/types/components/organisms/TileGroup/index.d.ts +4 -0
- package/dist/cjs/types/components/organisms/index.d.ts +1 -0
- package/dist/cjs/types/interfaces/atomProps.d.ts +14 -3
- package/dist/cjs/types/interfaces/moleculeProps.d.ts +10 -3
- package/dist/cjs/types/interfaces/organismProps.d.ts +9 -4
- package/dist/cjs/types/types/domTypes.d.ts +9 -0
- package/dist/cjs/types/types/styleTypes.d.ts +4 -2
- package/dist/esm/index.js +142 -39
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/atoms/Tile/index.d.ts +4 -0
- package/dist/esm/types/components/atoms/index.d.ts +1 -0
- package/dist/esm/types/components/molecules/Footer/index.d.ts +4 -0
- package/dist/esm/types/components/molecules/TileBox/index.d.ts +4 -0
- package/dist/esm/types/components/molecules/index.d.ts +2 -0
- package/dist/esm/types/components/organisms/TileGroup/index.d.ts +4 -0
- package/dist/esm/types/components/organisms/index.d.ts +1 -0
- package/dist/esm/types/interfaces/atomProps.d.ts +14 -3
- package/dist/esm/types/interfaces/moleculeProps.d.ts +10 -3
- package/dist/esm/types/interfaces/organismProps.d.ts +9 -4
- package/dist/esm/types/types/domTypes.d.ts +9 -0
- package/dist/esm/types/types/styleTypes.d.ts +4 -2
- package/dist/index.d.ts +41 -7
- package/package.json +5 -5
- package/dist/cjs/types/types/componentEnums.d.ts +0 -8
- package/dist/esm/types/types/componentEnums.d.ts +0 -8
@@ -13,3 +13,5 @@ export { default as InputControl } from './InputControl';
|
|
13
13
|
export { default as PanelBlock } from './PanelBlock';
|
14
14
|
export { default as PanelTabs } from './PanelTabs';
|
15
15
|
export { default as LevelItem } from '../molecules/LevelItem';
|
16
|
+
export { default as TileBox } from './TileBox';
|
17
|
+
export { default as Footer } from './Footer';
|
@@ -1,8 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ElementProps, ComposedElementProps, ClickeableProps } from './commonProps';
|
3
|
-
import { BasicColorType, ColumnOffsetType, ColumnSizeType, FixedImageSizeType, IconColorModeType, ElementSizeType, SizeWithoutNormalType, TextColorType, TitleSizeType, RightLeftAlignType } from '../types/styleTypes';
|
4
|
-
import { DropdownItemType, InputType } from '../types/domTypes';
|
5
|
-
import { ChildrenType } from '../types/componentEnums';
|
3
|
+
import { BasicColorType, ColumnOffsetType, ColumnSizeType, FixedImageSizeType, IconColorModeType, ElementSizeType, SizeWithoutNormalType, TextColorType, TitleSizeType, RightLeftAlignType, CommonSizeType } from '../types/styleTypes';
|
4
|
+
import { DropdownItemType, InputType, ChildrenType, TileContextType } from '../types/domTypes';
|
6
5
|
export interface ColumnProps extends ElementProps, React.ComponentPropsWithoutRef<'section'> {
|
7
6
|
/** `Attribute` Reffers to the component or array of components that will be shown inside the column */
|
8
7
|
children?: ChildrenType;
|
@@ -278,3 +277,15 @@ export interface LevelHeaderProps extends ElementProps {
|
|
278
277
|
/** `Attribute` `Required` Main value (numeric or text) to be shown in a bigger scale below `header` */
|
279
278
|
value: string | number;
|
280
279
|
}
|
280
|
+
export interface TileProps extends ElementProps {
|
281
|
+
/** `Attribute` Reffers to the component or array of components that will be shown inside the tile */
|
282
|
+
children?: ChildrenType;
|
283
|
+
/** `Attribute` Indicates its hierarchy level based on [Bulma documantation](https://bulma.io/documentation/layout/tiles/#nesting-requirements). Selection any level besides `is-child` will invalidate any `color` you select */
|
284
|
+
context?: TileContextType;
|
285
|
+
/** `Styling` Set tile's size */
|
286
|
+
size?: CommonSizeType;
|
287
|
+
/** `Styling` Color based on bulma's color tokens */
|
288
|
+
color?: BasicColorType;
|
289
|
+
/** `Styling` Used for hierarchy level as ancestor or parent. It selects its children in a vertical format (like a column) */
|
290
|
+
isVertical?: boolean;
|
291
|
+
}
|
@@ -1,8 +1,7 @@
|
|
1
1
|
import { ClickeableProps, ComposedElementProps, ElementProps } from './commonProps';
|
2
|
-
import { BreadcrumbItemProps, ButtonProps, ColumnProps, DeleteProps, DropdownItemProps, IconProps, InputProps, MenuItemProps, PaginationItemProps, TabItemProps } from './atomProps';
|
2
|
+
import { BreadcrumbItemProps, ButtonProps, ColumnProps, DeleteProps, DropdownItemProps, IconProps, InputProps, MenuItemProps, PaginationItemProps, TabItemProps, TileProps } from './atomProps';
|
3
3
|
import { BasicColorType, RightCenteredAlignType, BreadcrumbSeparatorType, ColumnGapType, SizeWithoutNormalType, TabsFormatType } from '../types/styleTypes';
|
4
|
-
import { PanelBlockItemType } from '../types/domTypes';
|
5
|
-
import { ChildrenType, SingleChildType } from '../types/componentEnums';
|
4
|
+
import { ChildrenType, SingleChildType, PanelBlockItemType } from '../types/domTypes';
|
6
5
|
export interface ButtonGroupProps extends ElementProps {
|
7
6
|
/** `Atribute` `Required` Array of `Button` objects that will be shown */
|
8
7
|
buttonList: ButtonProps[];
|
@@ -174,4 +173,12 @@ export interface LevelItemProps extends ElementProps {
|
|
174
173
|
/** `Styling` Centers item's content horizontally */
|
175
174
|
isCentered?: boolean;
|
176
175
|
}
|
176
|
+
export interface TileBoxProps extends TileProps {
|
177
|
+
}
|
178
|
+
export interface FooterProps extends ComposedElementProps {
|
179
|
+
/** `Attribute` `Required` Reffers to the component, list of components or string content that will be shown inside the footer */
|
180
|
+
content: ChildrenType;
|
181
|
+
/** `Styling` Centers footer¿s content horizontally */
|
182
|
+
isContentCentered?: boolean;
|
183
|
+
}
|
177
184
|
export {};
|
@@ -1,7 +1,8 @@
|
|
1
1
|
import { ElementProps } from './commonProps';
|
2
2
|
import { InputControlProps, LevelItemProps, PanelBlockProps, PanelTabsProps } from './moleculeProps';
|
3
3
|
import { BasicColorType, SizeWithoutNormalType } from '../types/styleTypes';
|
4
|
-
import { ChildrenType } from '../types/
|
4
|
+
import { ChildrenType } from '../types/domTypes';
|
5
|
+
import { TileProps } from './atomProps';
|
5
6
|
export interface FormFieldHelperProps {
|
6
7
|
text?: string;
|
7
8
|
color?: BasicColorType;
|
@@ -29,11 +30,11 @@ export interface PanelProps extends ElementProps {
|
|
29
30
|
color?: BasicColorType;
|
30
31
|
}
|
31
32
|
export interface LevelProps extends ElementProps {
|
32
|
-
/** `Attribute` A list of `LevelItem` configurations that will displayed in Level's left side */
|
33
|
+
/** `Attribute` A list of `LevelItem` configurations that will br displayed in Level's left side */
|
33
34
|
leftSide?: LevelItemProps[];
|
34
|
-
/** `Attribute` A list of `LevelItem` configurations that will displayed in Level's center */
|
35
|
+
/** `Attribute` A list of `LevelItem` configurations that will br displayed in Level's center */
|
35
36
|
centerSide?: LevelItemProps[];
|
36
|
-
/** `Attribute` A list of `LevelItem` configurations that will displayed in Level's right side */
|
37
|
+
/** `Attribute` A list of `LevelItem` configurations that will br displayed in Level's right side */
|
37
38
|
rightSide?: LevelItemProps[];
|
38
39
|
/** `Styling` Will adjust the navigator on horizontal on mobile as well */
|
39
40
|
isMobile?: boolean;
|
@@ -50,3 +51,7 @@ export interface HeroProps extends ElementProps {
|
|
50
51
|
/** `Styling` Color based on bulma's text color tokens */
|
51
52
|
color?: BasicColorType;
|
52
53
|
}
|
54
|
+
export interface TileGroupProps extends ElementProps, Pick<TileProps, 'context' | 'isVertical' | 'size'> {
|
55
|
+
/** `Attribute` `Required` A list of `Title` configurations that will be displayed in a grid mode on the screen */
|
56
|
+
groupConfig: TileProps[];
|
57
|
+
}
|
@@ -1,4 +1,13 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
export type ButtonType = 'submit' | 'reset' | 'button';
|
2
3
|
export type InputType = 'text' | 'password' | 'email' | 'tel';
|
3
4
|
export type DropdownItemType = 'item' | 'link' | 'divider';
|
4
5
|
export type PanelBlockItemType = 'icon' | 'control' | 'button';
|
6
|
+
export type ChildrenType = string | React.ReactElement | React.ReactElement[];
|
7
|
+
export type SingleChildType = Exclude<ChildrenType, React.ReactElement[]>;
|
8
|
+
export declare enum IconSizeEnum {
|
9
|
+
'is-small' = 24,
|
10
|
+
'is-medium' = 36,
|
11
|
+
'is-large' = 48
|
12
|
+
}
|
13
|
+
export type TileContextType = 'is-child' | 'is-parent' | 'is-ancestor';
|
@@ -1,6 +1,8 @@
|
|
1
|
-
export type
|
2
|
-
export type
|
1
|
+
export type CommonSizeType = 'is-1' | 'is-2' | 'is-3' | 'is-4' | 'is-5' | 'is-6' | 'is-7' | 'is-8' | 'is-9' | 'is-10' | 'is-11' | 'is-12';
|
2
|
+
export type AbstractSizeType = 'is-three-quarters' | 'is-two-thirds' | 'is-half' | 'is-one-third' | 'is-one-quarter' | 'is-full' | 'is-four-fifths' | 'is-three-fifths' | 'is-two-fifths' | 'is-one-fifth';
|
3
|
+
export type ColumnSizeType = CommonSizeType | AbstractSizeType;
|
3
4
|
export type ColumnOffsetType = 'is-offset-1' | 'is-offset-2' | 'is-offset-3' | 'is-offset-4' | 'is-offset-5' | 'is-offset-6' | 'is-offset-7' | 'is-offset-8' | 'is-offset-9' | 'is-offset-10' | 'is-offset-11' | 'is-offset-12';
|
5
|
+
export type TitleSizeType = 'is-1' | 'is-2' | 'is-3' | 'is-4' | 'is-5' | 'is-6';
|
4
6
|
export type BasicColorType = 'is-white' | 'is-light' | 'is-dark' | 'is-black' | 'is-text' | 'is-ghost' | 'is-primary' | 'is-link' | 'is-info' | 'is-success' | 'is-warning' | 'is-danger';
|
5
7
|
export type TextColorType = 'has-text-white' | 'has-text-black' | 'has-text-light' | 'has-text-dark' | 'has-text-primary' | 'has-text-link' | 'has-text-info' | 'has-text-success' | 'has-text-warning' | 'has-text-danger';
|
6
8
|
export type FixedImageSizeType = 'is-16x16' | 'is-24x24' | 'is-32x32' | 'is-48x48' | 'is-64x64' | 'is-96x96' | 'is-128x128' | 'is-square' | 'is-1by1' | 'is-5by4' | 'is-4by3' | 'is-3by2' | 'is-5by3' | 'is-16by9' | 'is-2by1' | 'is-3by1' | 'is-4by5' | 'is-3by4' | 'is-2by3' | 'is-3by5' | 'is-9by16' | 'is-1by2' | 'is-1by3';
|
package/dist/index.d.ts
CHANGED
@@ -24,9 +24,11 @@ interface ClickeableProps {
|
|
24
24
|
onClick?: () => void;
|
25
25
|
}
|
26
26
|
|
27
|
-
type
|
28
|
-
type
|
27
|
+
type CommonSizeType = 'is-1' | 'is-2' | 'is-3' | 'is-4' | 'is-5' | 'is-6' | 'is-7' | 'is-8' | 'is-9' | 'is-10' | 'is-11' | 'is-12';
|
28
|
+
type AbstractSizeType = 'is-three-quarters' | 'is-two-thirds' | 'is-half' | 'is-one-third' | 'is-one-quarter' | 'is-full' | 'is-four-fifths' | 'is-three-fifths' | 'is-two-fifths' | 'is-one-fifth';
|
29
|
+
type ColumnSizeType = CommonSizeType | AbstractSizeType;
|
29
30
|
type ColumnOffsetType = 'is-offset-1' | 'is-offset-2' | 'is-offset-3' | 'is-offset-4' | 'is-offset-5' | 'is-offset-6' | 'is-offset-7' | 'is-offset-8' | 'is-offset-9' | 'is-offset-10' | 'is-offset-11' | 'is-offset-12';
|
31
|
+
type TitleSizeType = 'is-1' | 'is-2' | 'is-3' | 'is-4' | 'is-5' | 'is-6';
|
30
32
|
type BasicColorType = 'is-white' | 'is-light' | 'is-dark' | 'is-black' | 'is-text' | 'is-ghost' | 'is-primary' | 'is-link' | 'is-info' | 'is-success' | 'is-warning' | 'is-danger';
|
31
33
|
type TextColorType = 'has-text-white' | 'has-text-black' | 'has-text-light' | 'has-text-dark' | 'has-text-primary' | 'has-text-link' | 'has-text-info' | 'has-text-success' | 'has-text-warning' | 'has-text-danger';
|
32
34
|
type FixedImageSizeType = 'is-16x16' | 'is-24x24' | 'is-32x32' | 'is-48x48' | 'is-64x64' | 'is-96x96' | 'is-128x128' | 'is-square' | 'is-1by1' | 'is-5by4' | 'is-4by3' | 'is-3by2' | 'is-5by3' | 'is-16by9' | 'is-2by1' | 'is-3by1' | 'is-4by5' | 'is-3by4' | 'is-2by3' | 'is-3by5' | 'is-9by16' | 'is-1by2' | 'is-1by3';
|
@@ -43,9 +45,9 @@ type TabsFormatType = 'is-boxed' | 'is-toggle';
|
|
43
45
|
type InputType = 'text' | 'password' | 'email' | 'tel';
|
44
46
|
type DropdownItemType = 'item' | 'link' | 'divider';
|
45
47
|
type PanelBlockItemType = 'icon' | 'control' | 'button';
|
46
|
-
|
47
48
|
type ChildrenType = string | React$1.ReactElement | React$1.ReactElement[];
|
48
49
|
type SingleChildType = Exclude<ChildrenType, React$1.ReactElement[]>;
|
50
|
+
type TileContextType = 'is-child' | 'is-parent' | 'is-ancestor';
|
49
51
|
|
50
52
|
interface ColumnProps extends ElementProps, React$1.ComponentPropsWithoutRef<'section'> {
|
51
53
|
/** `Attribute` Reffers to the component or array of components that will be shown inside the column */
|
@@ -322,6 +324,18 @@ interface LevelHeaderProps extends ElementProps {
|
|
322
324
|
/** `Attribute` `Required` Main value (numeric or text) to be shown in a bigger scale below `header` */
|
323
325
|
value: string | number;
|
324
326
|
}
|
327
|
+
interface TileProps extends ElementProps {
|
328
|
+
/** `Attribute` Reffers to the component or array of components that will be shown inside the tile */
|
329
|
+
children?: ChildrenType;
|
330
|
+
/** `Attribute` Indicates its hierarchy level based on [Bulma documantation](https://bulma.io/documentation/layout/tiles/#nesting-requirements). Selection any level besides `is-child` will invalidate any `color` you select */
|
331
|
+
context?: TileContextType;
|
332
|
+
/** `Styling` Set tile's size */
|
333
|
+
size?: CommonSizeType;
|
334
|
+
/** `Styling` Color based on bulma's color tokens */
|
335
|
+
color?: BasicColorType;
|
336
|
+
/** `Styling` Used for hierarchy level as ancestor or parent. It selects its children in a vertical format (like a column) */
|
337
|
+
isVertical?: boolean;
|
338
|
+
}
|
325
339
|
|
326
340
|
declare const Button: React$1.FC<ButtonProps>;
|
327
341
|
|
@@ -369,6 +383,8 @@ declare const TabItem: React$1.FC<TabItemProps>;
|
|
369
383
|
|
370
384
|
declare const LevelHeader: React$1.FC<LevelHeaderProps>;
|
371
385
|
|
386
|
+
declare const Tile: React$1.FC<TileProps>;
|
387
|
+
|
372
388
|
interface ButtonGroupProps extends ElementProps {
|
373
389
|
/** `Atribute` `Required` Array of `Button` objects that will be shown */
|
374
390
|
buttonList: ButtonProps[];
|
@@ -540,6 +556,14 @@ interface LevelItemProps extends ElementProps {
|
|
540
556
|
/** `Styling` Centers item's content horizontally */
|
541
557
|
isCentered?: boolean;
|
542
558
|
}
|
559
|
+
interface TileBoxProps extends TileProps {
|
560
|
+
}
|
561
|
+
interface FooterProps extends ComposedElementProps {
|
562
|
+
/** `Attribute` `Required` Reffers to the component, list of components or string content that will be shown inside the footer */
|
563
|
+
content: ChildrenType;
|
564
|
+
/** `Styling` Centers footer¿s content horizontally */
|
565
|
+
isContentCentered?: boolean;
|
566
|
+
}
|
543
567
|
|
544
568
|
declare const ButtonGroup: React$1.FC<ButtonGroupProps>;
|
545
569
|
|
@@ -571,6 +595,10 @@ declare const PanelTabs: React$1.FC<PanelTabsProps>;
|
|
571
595
|
|
572
596
|
declare const LevelItem: React$1.FC<LevelItemProps>;
|
573
597
|
|
598
|
+
declare const TileBox: React$1.FC<TileBoxProps>;
|
599
|
+
|
600
|
+
declare const Footer: React$1.FC<FooterProps>;
|
601
|
+
|
574
602
|
interface FormFieldHelperProps {
|
575
603
|
text?: string;
|
576
604
|
color?: BasicColorType;
|
@@ -598,11 +626,11 @@ interface PanelProps extends ElementProps {
|
|
598
626
|
color?: BasicColorType;
|
599
627
|
}
|
600
628
|
interface LevelProps extends ElementProps {
|
601
|
-
/** `Attribute` A list of `LevelItem` configurations that will displayed in Level's left side */
|
629
|
+
/** `Attribute` A list of `LevelItem` configurations that will br displayed in Level's left side */
|
602
630
|
leftSide?: LevelItemProps[];
|
603
|
-
/** `Attribute` A list of `LevelItem` configurations that will displayed in Level's center */
|
631
|
+
/** `Attribute` A list of `LevelItem` configurations that will br displayed in Level's center */
|
604
632
|
centerSide?: LevelItemProps[];
|
605
|
-
/** `Attribute` A list of `LevelItem` configurations that will displayed in Level's right side */
|
633
|
+
/** `Attribute` A list of `LevelItem` configurations that will br displayed in Level's right side */
|
606
634
|
rightSide?: LevelItemProps[];
|
607
635
|
/** `Styling` Will adjust the navigator on horizontal on mobile as well */
|
608
636
|
isMobile?: boolean;
|
@@ -619,6 +647,10 @@ interface HeroProps extends ElementProps {
|
|
619
647
|
/** `Styling` Color based on bulma's text color tokens */
|
620
648
|
color?: BasicColorType;
|
621
649
|
}
|
650
|
+
interface TileGroupProps extends ElementProps, Pick<TileProps, 'context' | 'isVertical' | 'size'> {
|
651
|
+
/** `Attribute` `Required` A list of `Title` configurations that will be displayed in a grid mode on the screen */
|
652
|
+
groupConfig: TileProps[];
|
653
|
+
}
|
622
654
|
|
623
655
|
declare const FormField: React$1.FC<FormFieldProps>;
|
624
656
|
|
@@ -628,4 +660,6 @@ declare const Level: React$1.FC<LevelProps>;
|
|
628
660
|
|
629
661
|
declare const Hero: React$1.FC<HeroProps>;
|
630
662
|
|
631
|
-
|
663
|
+
declare const TileGroup: React$1.FC<TileGroupProps>;
|
664
|
+
|
665
|
+
export { Block, Box, BreadcrumbItem, Breadcrumbs, Button, ButtonGroup, CheckBox as Checkbox, Column, ColumnGroup, Delete, Dropdown, DropdownItem, DropdownTrigger, File, Footer, FormField, Hero, Icon, Image, Input, InputControl, Level, LevelHeader, LevelItem, Menu, MenuItem, MenuList, Message, Modal, Notification, Pagination, PaginationItem, Panel, PanelBlock, PanelTabs, ProgressBar, RadioButton, Select, TabItem, Tabs, Tag, TextArea, Tile, TileBox, TileGroup, Title };
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "reactive-bulma",
|
3
|
-
"version": "2.
|
3
|
+
"version": "2.16.0",
|
4
4
|
"description": "A component library based on React, Bulma, Typescript and Rollup",
|
5
5
|
"keywords": [
|
6
6
|
"typescript",
|
@@ -76,13 +76,13 @@
|
|
76
76
|
"@storybook/react": "^7.6.10",
|
77
77
|
"@storybook/react-webpack5": "^7.6.10",
|
78
78
|
"@storybook/testing-library": "^0.2.2",
|
79
|
-
"@testing-library/jest-dom": "^6.2.
|
79
|
+
"@testing-library/jest-dom": "^6.2.1",
|
80
80
|
"@testing-library/react": "^14.1.2",
|
81
81
|
"@testing-library/user-event": "^14.5.2",
|
82
82
|
"@types/jest": "^29.5.11",
|
83
83
|
"@types/react": "^18.2.48",
|
84
|
-
"@typescript-eslint/eslint-plugin": "^6.19.
|
85
|
-
"@typescript-eslint/parser": "^6.19.
|
84
|
+
"@typescript-eslint/eslint-plugin": "^6.19.1",
|
85
|
+
"@typescript-eslint/parser": "^6.19.1",
|
86
86
|
"babel-jest": "^29.7.0",
|
87
87
|
"babel-loader": "^9.1.3",
|
88
88
|
"bulma": "^0.9.4",
|
@@ -99,7 +99,7 @@
|
|
99
99
|
"prettier": "^3.2.4",
|
100
100
|
"react": "^18.2.0",
|
101
101
|
"react-dom": "^18.2.0",
|
102
|
-
"rollup": "^4.9.
|
102
|
+
"rollup": "^4.9.6",
|
103
103
|
"rollup-plugin-dts": "^6.1.0",
|
104
104
|
"rollup-plugin-postcss": "^4.0.2",
|
105
105
|
"semantic-release": "^23.0.0",
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
export declare enum IconSizeEnum {
|
3
|
-
'is-small' = 24,
|
4
|
-
'is-medium' = 36,
|
5
|
-
'is-large' = 48
|
6
|
-
}
|
7
|
-
export type ChildrenType = string | React.ReactElement | React.ReactElement[];
|
8
|
-
export type SingleChildType = Exclude<ChildrenType, React.ReactElement[]>;
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
export declare enum IconSizeEnum {
|
3
|
-
'is-small' = 24,
|
4
|
-
'is-medium' = 36,
|
5
|
-
'is-large' = 48
|
6
|
-
}
|
7
|
-
export type ChildrenType = string | React.ReactElement | React.ReactElement[];
|
8
|
-
export type SingleChildType = Exclude<ChildrenType, React.ReactElement[]>;
|