From 43c6d2e7f4e400840f5e5e336d4d6581d0f9ab9f Mon Sep 17 00:00:00 2001 From: mertsincan Date: Sun, 10 Apr 2022 13:27:59 +0100 Subject: [PATCH] Fixed #2732 - Attribute 'children' is missing in primereact 8.0.0-rc.1 --- components/lib/accordion/Accordion.d.ts | 2 ++ components/lib/autocomplete/AutoComplete.d.ts | 1 + components/lib/avatar/Avatar.d.ts | 1 + components/lib/avatargroup/AvatarGroup.d.ts | 1 + components/lib/badge/Badge.d.ts | 1 + components/lib/blockui/BlockUI.d.ts | 1 + components/lib/breadcrumb/BreadCrumb.d.ts | 1 + components/lib/button/Button.d.ts | 1 + components/lib/calendar/Calendar.d.ts | 1 + components/lib/captcha/Captcha.d.ts | 1 + components/lib/card/Card.d.ts | 1 + components/lib/carousel/Carousel.d.ts | 1 + components/lib/cascadeselect/CascadeSelect.d.ts | 1 + components/lib/chart/Chart.d.ts | 1 + components/lib/checkbox/Checkbox.d.ts | 1 + components/lib/chip/Chip.d.ts | 1 + components/lib/chips/Chips.d.ts | 1 + components/lib/colorpicker/ColorPicker.d.ts | 1 + components/lib/column/Column.d.ts | 1 + components/lib/columngroup/ColumnGroup.d.ts | 4 +++- components/lib/confirmdialog/ConfirmDialog.d.ts | 1 + components/lib/confirmpopup/ConfirmPopup.d.ts | 1 + components/lib/contextmenu/ContextMenu.d.ts | 1 + components/lib/datascroller/DataScroller.d.ts | 1 + components/lib/datatable/DataTable.d.ts | 1 + components/lib/dataview/DataView.d.ts | 2 ++ components/lib/deferredcontent/DeferredContent.d.ts | 1 + components/lib/dialog/Dialog.d.ts | 1 + components/lib/divider/Divider.d.ts | 1 + components/lib/dock/Dock.d.ts | 1 + components/lib/dropdown/Dropdown.d.ts | 1 + components/lib/editor/Editor.d.ts | 1 + components/lib/fieldset/Fieldset.d.ts | 1 + components/lib/fileupload/FileUpload.d.ts | 3 ++- components/lib/fullcalendar/FullCalendar.d.ts | 1 + components/lib/galleria/Galleria.d.ts | 1 + components/lib/gmap/GMap.d.ts | 1 + components/lib/image/Image.d.ts | 1 + components/lib/inplace/Inplace.d.ts | 9 +++++++-- components/lib/inputmask/InputMask.d.ts | 1 + components/lib/inputnumber/InputNumber.d.ts | 1 + components/lib/inputswitch/InputSwitch.d.ts | 1 + components/lib/inputtext/InputText.d.ts | 1 + components/lib/inputtextarea/InputTextarea.d.ts | 1 + components/lib/knob/Knob.d.ts | 1 + components/lib/listbox/ListBox.d.ts | 1 + components/lib/megamenu/MegaMenu.d.ts | 1 + components/lib/mention/Mention.d.ts | 1 + components/lib/menu/Menu.d.ts | 1 + components/lib/menubar/Menubar.d.ts | 1 + components/lib/message/Message.d.ts | 1 + components/lib/messages/Messages.d.ts | 1 + components/lib/multiselect/MultiSelect.d.ts | 1 + .../lib/multistatecheckbox/MultiStateCheckbox.d.ts | 1 + components/lib/orderlist/OrderList.d.ts | 1 + components/lib/organizationchart/OrganizationChart.d.ts | 1 + components/lib/overlaypanel/OverlayPanel.d.ts | 1 + components/lib/paginator/Paginator.d.ts | 1 + components/lib/panel/Panel.d.ts | 1 + components/lib/panelmenu/PanelMenu.d.ts | 1 + components/lib/password/Password.d.ts | 1 + components/lib/picklist/PickList.d.ts | 1 + components/lib/progressbar/ProgressBar.d.ts | 1 + components/lib/progressspinner/ProgressSpinner.d.ts | 3 ++- components/lib/radiobutton/RadioButton.d.ts | 1 + components/lib/rating/Rating.d.ts | 1 + components/lib/ripple/Ripple.d.ts | 4 +++- components/lib/row/Row.d.ts | 1 + components/lib/scrollpanel/ScrollPanel.d.ts | 1 + components/lib/scrolltop/ScrollTop.d.ts | 1 + components/lib/selectbutton/SelectButton.d.ts | 1 + components/lib/sidebar/Sidebar.d.ts | 1 + components/lib/skeleton/Skeleton.d.ts | 1 + components/lib/slidemenu/SlideMenu.d.ts | 1 + components/lib/slider/Slider.d.ts | 1 + components/lib/speeddial/SpeedDial.d.ts | 1 + components/lib/splitbutton/SplitButton.d.ts | 1 + components/lib/splitter/Splitter.d.ts | 2 ++ components/lib/steps/Steps.d.ts | 1 + components/lib/styleclass/StyleClass.d.ts | 1 + components/lib/tabmenu/TabMenu.d.ts | 1 + components/lib/tabview/TabView.d.ts | 2 ++ components/lib/tag/Tag.d.ts | 1 + components/lib/terminal/Terminal.d.ts | 1 + components/lib/tieredmenu/TieredMenu.d.ts | 1 + components/lib/timeline/Timeline.d.ts | 1 + components/lib/toast/Toast.d.ts | 1 + components/lib/togglebutton/ToggleButton.d.ts | 1 + components/lib/toolbar/Toolbar.d.ts | 1 + components/lib/tooltip/Tooltip.d.ts | 1 + components/lib/tree/Tree.d.ts | 1 + components/lib/treeselect/TreeSelect.d.ts | 1 + components/lib/treetable/TreeTable.d.ts | 1 + components/lib/tristatecheckbox/TriStateCheckbox.d.ts | 1 + components/lib/virtualscroller/VirtualScroller.d.ts | 1 + 95 files changed, 111 insertions(+), 6 deletions(-) diff --git a/components/lib/accordion/Accordion.d.ts b/components/lib/accordion/Accordion.d.ts index 13d084f135..b9becca91e 100644 --- a/components/lib/accordion/Accordion.d.ts +++ b/components/lib/accordion/Accordion.d.ts @@ -14,6 +14,7 @@ interface AccordionTabProps { headerTemplate?: AccordionTabHeaderTemplateType; contentStyle?: object; contentClassName?: string; + children?: React.ReactNode; } export declare class AccordionTab extends React.Component { } @@ -37,6 +38,7 @@ export interface AccordionProps { onTabOpen?(e: AccordionEventParams): void; onTabClose?(e: AccordionEventParams): void; onTabChange?(e: AccordionEventParams): void; + children?: React.ReactNode; } // tslint:disable-next-line:max-classes-per-file diff --git a/components/lib/autocomplete/AutoComplete.d.ts b/components/lib/autocomplete/AutoComplete.d.ts index de05ad19ec..c70f530e4e 100755 --- a/components/lib/autocomplete/AutoComplete.d.ts +++ b/components/lib/autocomplete/AutoComplete.d.ts @@ -105,6 +105,7 @@ export interface AutoCompleteProps extends Omit { diff --git a/components/lib/avatar/Avatar.d.ts b/components/lib/avatar/Avatar.d.ts index 69ead59b5b..2d27e5860e 100644 --- a/components/lib/avatar/Avatar.d.ts +++ b/components/lib/avatar/Avatar.d.ts @@ -19,6 +19,7 @@ export interface AvatarProps { imageAlt?: string; onImageError?(event: React.SyntheticEvent): void; onClick?(event: React.MouseEvent): void; + children?: React.ReactNode; } export declare class Avatar extends React.Component { } diff --git a/components/lib/avatargroup/AvatarGroup.d.ts b/components/lib/avatargroup/AvatarGroup.d.ts index 0116dd8e9e..e3a39efeae 100644 --- a/components/lib/avatargroup/AvatarGroup.d.ts +++ b/components/lib/avatargroup/AvatarGroup.d.ts @@ -3,6 +3,7 @@ import * as React from 'react'; export interface AvatarGroupProps { style?: object; className?: string; + children?: React.ReactNode; } export declare class AvatarGroup extends React.Component { } diff --git a/components/lib/badge/Badge.d.ts b/components/lib/badge/Badge.d.ts index 3be9294a57..cf30cacdfa 100644 --- a/components/lib/badge/Badge.d.ts +++ b/components/lib/badge/Badge.d.ts @@ -10,6 +10,7 @@ export interface BadgeProps { size?: BadgeSizeType; style?: object; className?: string; + children?: React.ReactNode; } export declare class Badge extends React.Component { } diff --git a/components/lib/blockui/BlockUI.d.ts b/components/lib/blockui/BlockUI.d.ts index 289efbfb5a..e808fe06ca 100644 --- a/components/lib/blockui/BlockUI.d.ts +++ b/components/lib/blockui/BlockUI.d.ts @@ -13,6 +13,7 @@ export interface BlockUIProps { template?: BlockUITemplateType; onBlocked?(): void; onUnblocked?(): void; + children?: React.ReactNode; } export declare class BlockUI extends React.Component { diff --git a/components/lib/breadcrumb/BreadCrumb.d.ts b/components/lib/breadcrumb/BreadCrumb.d.ts index f0802d3bf9..32163e6b6f 100644 --- a/components/lib/breadcrumb/BreadCrumb.d.ts +++ b/components/lib/breadcrumb/BreadCrumb.d.ts @@ -7,6 +7,7 @@ export interface BreadCrumbProps { home?: MenuItem; style?: object; className?: string; + children?: React.ReactNode; } export declare class BreadCrumb extends React.Component { } diff --git a/components/lib/button/Button.d.ts b/components/lib/button/Button.d.ts index ccea9f5e77..7deaa769cd 100644 --- a/components/lib/button/Button.d.ts +++ b/components/lib/button/Button.d.ts @@ -15,6 +15,7 @@ export interface ButtonProps extends Omit; + children?: React.ReactNode; } export declare class Button extends React.Component { } diff --git a/components/lib/calendar/Calendar.d.ts b/components/lib/calendar/Calendar.d.ts index 0cf92f024a..697c62e8e7 100644 --- a/components/lib/calendar/Calendar.d.ts +++ b/components/lib/calendar/Calendar.d.ts @@ -148,6 +148,7 @@ export interface CalendarProps { onClearButtonClick?(event: React.MouseEvent): void; onShow?(): void; onHide?(): void; + children?: React.ReactNode; } export declare class Calendar extends React.Component { diff --git a/components/lib/captcha/Captcha.d.ts b/components/lib/captcha/Captcha.d.ts index 6850e29b7b..5e40bf452e 100644 --- a/components/lib/captcha/Captcha.d.ts +++ b/components/lib/captcha/Captcha.d.ts @@ -10,6 +10,7 @@ export interface CaptchaProps { language?: string; onResponse?(response: any): void; onExpire?(): void; + children?: React.ReactNode; } export declare class Captcha extends React.Component { diff --git a/components/lib/card/Card.d.ts b/components/lib/card/Card.d.ts index 7b77fa0f91..464631d75f 100644 --- a/components/lib/card/Card.d.ts +++ b/components/lib/card/Card.d.ts @@ -10,6 +10,7 @@ export interface CardProps { subTitle?: CardTemplateTypes; style?: object; className?: string; + children?: React.ReactNode; } export declare class Card extends React.Component { } diff --git a/components/lib/carousel/Carousel.d.ts b/components/lib/carousel/Carousel.d.ts index ed63347292..9e5d64aa14 100644 --- a/components/lib/carousel/Carousel.d.ts +++ b/components/lib/carousel/Carousel.d.ts @@ -32,6 +32,7 @@ export interface CarouselProps { containerClassName?: string; indicatorsContentClassName?: string; onPageChange?(e: CarouselPageChangeParams): void; + children?: React.ReactNode; } export declare class Carousel extends React.Component { } diff --git a/components/lib/cascadeselect/CascadeSelect.d.ts b/components/lib/cascadeselect/CascadeSelect.d.ts index 6f305a0bd5..de43c67653 100644 --- a/components/lib/cascadeselect/CascadeSelect.d.ts +++ b/components/lib/cascadeselect/CascadeSelect.d.ts @@ -40,6 +40,7 @@ export interface CascadeSelectProps extends Omit { } diff --git a/components/lib/chart/Chart.d.ts b/components/lib/chart/Chart.d.ts index 136f158da1..290f53e24a 100644 --- a/components/lib/chart/Chart.d.ts +++ b/components/lib/chart/Chart.d.ts @@ -10,6 +10,7 @@ export interface ChartProps { height?: string; style?: object; className?: string; + children?: React.ReactNode; } export declare class Chart extends React.Component { diff --git a/components/lib/checkbox/Checkbox.d.ts b/components/lib/checkbox/Checkbox.d.ts index ccc02ed714..e4980e0b40 100644 --- a/components/lib/checkbox/Checkbox.d.ts +++ b/components/lib/checkbox/Checkbox.d.ts @@ -41,6 +41,7 @@ export interface CheckboxProps extends Omit): void; onContextMenu?(event: React.MouseEvent): void; + children?: React.ReactNode; } export declare class Checkbox extends React.Component { } diff --git a/components/lib/chip/Chip.d.ts b/components/lib/chip/Chip.d.ts index 6a7ecf01ea..9f214c78d2 100644 --- a/components/lib/chip/Chip.d.ts +++ b/components/lib/chip/Chip.d.ts @@ -13,6 +13,7 @@ export interface ChipProps { imageAlt?: string; onImageError?(event: React.SyntheticEvent): void; onRemove?(event: React.MouseEvent): void; + children?: React.ReactNode; } export declare class Chip extends React.Component { } diff --git a/components/lib/chips/Chips.d.ts b/components/lib/chips/Chips.d.ts index ded8453f8f..ccc120f68f 100755 --- a/components/lib/chips/Chips.d.ts +++ b/components/lib/chips/Chips.d.ts @@ -54,6 +54,7 @@ export interface ChipsProps { onChange?(e: ChipsChangeParams): void; onFocus?(event: React.FocusEvent): void; onBlur?(event: React.FocusEvent): void; + children?: React.ReactNode; } export declare class Chips extends React.Component { } diff --git a/components/lib/colorpicker/ColorPicker.d.ts b/components/lib/colorpicker/ColorPicker.d.ts index b9ee384dbf..01abfe5604 100644 --- a/components/lib/colorpicker/ColorPicker.d.ts +++ b/components/lib/colorpicker/ColorPicker.d.ts @@ -47,6 +47,7 @@ export interface ColorPickerProps extends Omit { } diff --git a/components/lib/column/Column.d.ts b/components/lib/column/Column.d.ts index 4c67d64d00..0824e929a3 100644 --- a/components/lib/column/Column.d.ts +++ b/components/lib/column/Column.d.ts @@ -245,6 +245,7 @@ export interface ColumnProps { cellEditValidator?(e: ColumnEventParams): boolean; onBeforeCellEditHide?(e: ColumnEventParams): void; onBeforeCellEditShow?(e: ColumnEventParams): void; + children?: React.ReactNode; } export declare class Column extends React.Component { } diff --git a/components/lib/columngroup/ColumnGroup.d.ts b/components/lib/columngroup/ColumnGroup.d.ts index 78ea941a41..ee08bb4902 100644 --- a/components/lib/columngroup/ColumnGroup.d.ts +++ b/components/lib/columngroup/ColumnGroup.d.ts @@ -1,6 +1,8 @@ import * as React from 'react'; // tslint:disable-next-line:no-empty-interface -export interface ColumnGroupProps { } +export interface ColumnGroupProps { + children?: React.ReactNode; +} export declare class ColumnGroup extends React.Component { } diff --git a/components/lib/confirmdialog/ConfirmDialog.d.ts b/components/lib/confirmdialog/ConfirmDialog.d.ts index 3e4b0094e9..55e25c582f 100644 --- a/components/lib/confirmdialog/ConfirmDialog.d.ts +++ b/components/lib/confirmdialog/ConfirmDialog.d.ts @@ -40,6 +40,7 @@ export interface ConfirmDialogProps extends Omit { onHide?(result: string): void; accept?(): void; reject?(): void; + children?: React.ReactNode; } interface ConfirmDialogReturn { diff --git a/components/lib/confirmpopup/ConfirmPopup.d.ts b/components/lib/confirmpopup/ConfirmPopup.d.ts index 37c70af050..6e3cb20913 100644 --- a/components/lib/confirmpopup/ConfirmPopup.d.ts +++ b/components/lib/confirmpopup/ConfirmPopup.d.ts @@ -41,6 +41,7 @@ export interface ConfirmPopupProps { onHide?(result: string): void; accept?(): void; reject?(): void; + children?: React.ReactNode; } interface ConfirmPopupReturn { diff --git a/components/lib/contextmenu/ContextMenu.d.ts b/components/lib/contextmenu/ContextMenu.d.ts index e7ab8c2233..c8a3618b8d 100644 --- a/components/lib/contextmenu/ContextMenu.d.ts +++ b/components/lib/contextmenu/ContextMenu.d.ts @@ -16,6 +16,7 @@ export interface ContextMenuProps { transitionOptions?: CSSTransitionProps; onShow?(e: React.SyntheticEvent): void; onHide?(e: React.SyntheticEvent): void; + children?: React.ReactNode; } export declare class ContextMenu extends React.Component { diff --git a/components/lib/datascroller/DataScroller.d.ts b/components/lib/datascroller/DataScroller.d.ts index c8cd051484..d08c85a4b4 100644 --- a/components/lib/datascroller/DataScroller.d.ts +++ b/components/lib/datascroller/DataScroller.d.ts @@ -23,6 +23,7 @@ export interface DataScrollerProps { emptyMessage?: DataScrollerEmptyMessageType; onLazyLoad?(e: DataScrollerLazyLoadParams): void; itemTemplate?(item: any): React.ReactNode; + children?: React.ReactNode; } export declare class DataScroller extends React.Component { diff --git a/components/lib/datatable/DataTable.d.ts b/components/lib/datatable/DataTable.d.ts index 14ce64467c..af48138a57 100644 --- a/components/lib/datatable/DataTable.d.ts +++ b/components/lib/datatable/DataTable.d.ts @@ -359,6 +359,7 @@ export interface DataTableProps extends Omit { diff --git a/components/lib/dataview/DataView.d.ts b/components/lib/dataview/DataView.d.ts index 367d5e9d2a..12811a6fa7 100755 --- a/components/lib/dataview/DataView.d.ts +++ b/components/lib/dataview/DataView.d.ts @@ -27,6 +27,7 @@ export interface DataViewLayoutOptionsProps { style?: object; className?: string; onChange(e: DataViewLayoutOptionsChangeParams): void; + children?: React.ReactNode; } export declare class DataViewLayoutOptions extends React.Component { } @@ -63,6 +64,7 @@ export interface DataViewProps { gutter?: boolean; onPage?(e: DataViewPageParams): void; itemTemplate?(item: any, layout: DataViewLayoutType): React.ReactNode; + children?: React.ReactNode; } // tslint:disable-next-line:max-classes-per-file diff --git a/components/lib/deferredcontent/DeferredContent.d.ts b/components/lib/deferredcontent/DeferredContent.d.ts index aaba8ef073..aaba3fa113 100644 --- a/components/lib/deferredcontent/DeferredContent.d.ts +++ b/components/lib/deferredcontent/DeferredContent.d.ts @@ -2,6 +2,7 @@ import * as React from 'react'; export interface DeferredContentProps { onLoad?(event: React.SyntheticEvent): void; + children?: React.ReactNode; } export declare class DeferredContent extends React.Component { } diff --git a/components/lib/dialog/Dialog.d.ts b/components/lib/dialog/Dialog.d.ts index 561e9551d3..d755400130 100644 --- a/components/lib/dialog/Dialog.d.ts +++ b/components/lib/dialog/Dialog.d.ts @@ -60,6 +60,7 @@ export interface DialogProps { onShow?(): void; onMaskClick?(e: React.MouseEvent): void; onClick?(e: React.MouseEvent): void; + children?: React.ReactNode; } export declare class Dialog extends React.Component { diff --git a/components/lib/divider/Divider.d.ts b/components/lib/divider/Divider.d.ts index 8707d3a45e..a7e0d2afeb 100644 --- a/components/lib/divider/Divider.d.ts +++ b/components/lib/divider/Divider.d.ts @@ -12,6 +12,7 @@ export interface DividerProps { type?: DividerBorderType; style?: object; className?: string; + children?: React.ReactNode; } export declare class Divider extends React.Component { } diff --git a/components/lib/dock/Dock.d.ts b/components/lib/dock/Dock.d.ts index e6ffb2f6b5..83b8057809 100644 --- a/components/lib/dock/Dock.d.ts +++ b/components/lib/dock/Dock.d.ts @@ -22,6 +22,7 @@ export interface DockProps { magnification?: boolean; header?: DockHeaderType; footer?: DockFooterType; + children?: React.ReactNode; } export declare class Dock extends React.Component { } diff --git a/components/lib/dropdown/Dropdown.d.ts b/components/lib/dropdown/Dropdown.d.ts index 1083c0111b..62757a7dd7 100755 --- a/components/lib/dropdown/Dropdown.d.ts +++ b/components/lib/dropdown/Dropdown.d.ts @@ -92,6 +92,7 @@ export interface DropdownProps extends Omit { } diff --git a/components/lib/editor/Editor.d.ts b/components/lib/editor/Editor.d.ts index 624d265659..5000e81420 100644 --- a/components/lib/editor/Editor.d.ts +++ b/components/lib/editor/Editor.d.ts @@ -28,6 +28,7 @@ export interface EditorProps extends React.DetailedHTMLProps { diff --git a/components/lib/fieldset/Fieldset.d.ts b/components/lib/fieldset/Fieldset.d.ts index f5e14452df..3b4ee95435 100644 --- a/components/lib/fieldset/Fieldset.d.ts +++ b/components/lib/fieldset/Fieldset.d.ts @@ -18,6 +18,7 @@ export interface FieldsetProps { onCollapse?(event: React.MouseEvent): void; onToggle?(e: FieldsetToggleParams): void; onClick?(event: React.MouseEvent): void; + children?: React.ReactNode; } export declare class Fieldset extends React.Component { } diff --git a/components/lib/fileupload/FileUpload.d.ts b/components/lib/fileupload/FileUpload.d.ts index ef639cd140..36ba6e7ecb 100644 --- a/components/lib/fileupload/FileUpload.d.ts +++ b/components/lib/fileupload/FileUpload.d.ts @@ -76,7 +76,7 @@ interface FileUploadHandlerParam extends FileUploadFilesParam { options: FileUploadHandlerOptions; } -interface FileUploadRemoveParams { +interface FileUploadRemoveParams { originalEvent: React.SyntheticEvent; file: File; } @@ -122,6 +122,7 @@ interface FileUploadProps { onValidationFail?(file: File): void; uploadHandler?(e: FileUploadHandlerParam): void; onRemove?(e: FileUploadRemoveParams): void; + children?: React.ReactNode; } export declare class FileUpload extends React.Component { diff --git a/components/lib/fullcalendar/FullCalendar.d.ts b/components/lib/fullcalendar/FullCalendar.d.ts index 83317530b5..641bb5eda4 100644 --- a/components/lib/fullcalendar/FullCalendar.d.ts +++ b/components/lib/fullcalendar/FullCalendar.d.ts @@ -6,6 +6,7 @@ export interface FullCalendarProps { style?: object; className?: string; options?: object; + children?: React.ReactNode; } export declare class FullCalendar extends React.Component { } diff --git a/components/lib/galleria/Galleria.d.ts b/components/lib/galleria/Galleria.d.ts index e7a12d0aa6..08e8ae9b10 100644 --- a/components/lib/galleria/Galleria.d.ts +++ b/components/lib/galleria/Galleria.d.ts @@ -44,6 +44,7 @@ export interface GalleriaProps { onItemChange?(e: GalleriaItemChangeParams): void; onShow?(): void; onHide?(): void; + children?: React.ReactNode; } export declare class Galleria extends React.Component { diff --git a/components/lib/gmap/GMap.d.ts b/components/lib/gmap/GMap.d.ts index 33aa6f1b31..52b0412214 100644 --- a/components/lib/gmap/GMap.d.ts +++ b/components/lib/gmap/GMap.d.ts @@ -19,6 +19,7 @@ export interface GMapProps { onOverlayDrag?(event: React.SyntheticEvent): void; onOverlayDragEnd?(event: React.SyntheticEvent): void; onOverlayClick?(e: GMapEventParams): void; + children?: React.ReactNode; } export declare class GMap extends React.Component { } diff --git a/components/lib/image/Image.d.ts b/components/lib/image/Image.d.ts index 6276c81e9c..a8c8d65b45 100644 --- a/components/lib/image/Image.d.ts +++ b/components/lib/image/Image.d.ts @@ -14,6 +14,7 @@ export interface ImageProps { height?: string; onShow?(): void; onHide?(): void; + children?: React.ReactNode; } export declare class Image extends React.Component { } diff --git a/components/lib/inplace/Inplace.d.ts b/components/lib/inplace/Inplace.d.ts index 448724543e..8806f594e8 100644 --- a/components/lib/inplace/Inplace.d.ts +++ b/components/lib/inplace/Inplace.d.ts @@ -16,12 +16,17 @@ export interface InplaceProps { onOpen?(event: React.MouseEvent): void; onClose?(event: React.MouseEvent): void; onToggle?(e: InplaceToggleParams): void; + children?: React.ReactNode; } export declare class Inplace extends React.Component { } // tslint:disable-next-line:max-classes-per-file -export declare class InplaceDisplay extends React.Component { } +export declare class InplaceDisplay extends React.Component { + children?: React.ReactNode; +} // tslint:disable-next-line:max-classes-per-file -export declare class InplaceContent extends React.Component { } +export declare class InplaceContent extends React.Component { + children?: React.ReactNode; +} diff --git a/components/lib/inputmask/InputMask.d.ts b/components/lib/inputmask/InputMask.d.ts index 5164500b9a..7314adf132 100644 --- a/components/lib/inputmask/InputMask.d.ts +++ b/components/lib/inputmask/InputMask.d.ts @@ -46,6 +46,7 @@ export interface InputMaskProps { onChange?(e: InputMaskChangeParams): void; onFocus?(event: React.FocusEvent): void; onBlur?(event: React.FocusEvent): void; + children?: React.ReactNode; } export declare class InputMask extends React.Component { } diff --git a/components/lib/inputnumber/InputNumber.d.ts b/components/lib/inputnumber/InputNumber.d.ts index 47ffac76e8..bc9236934f 100644 --- a/components/lib/inputnumber/InputNumber.d.ts +++ b/components/lib/inputnumber/InputNumber.d.ts @@ -69,6 +69,7 @@ export interface InputNumberProps { onFocus?(event: React.FocusEvent): void; onBlur?(event: React.FocusEvent): void; onKeyDown?(event: React.KeyboardEvent): void; + children?: React.ReactNode; } export declare class InputNumber extends React.Component { diff --git a/components/lib/inputswitch/InputSwitch.d.ts b/components/lib/inputswitch/InputSwitch.d.ts index 55eab444ff..ff63ecf1c6 100644 --- a/components/lib/inputswitch/InputSwitch.d.ts +++ b/components/lib/inputswitch/InputSwitch.d.ts @@ -32,6 +32,7 @@ export interface InputSwitchProps extends Omit): void; onBlur?(event: React.FocusEvent): void; + children?: React.ReactNode; } export declare class InputSwitch extends React.Component { } diff --git a/components/lib/inputtext/InputText.d.ts b/components/lib/inputtext/InputText.d.ts index f4a5efdd7a..cbfdfc4a55 100644 --- a/components/lib/inputtext/InputText.d.ts +++ b/components/lib/inputtext/InputText.d.ts @@ -8,6 +8,7 @@ export interface InputTextProps extends Omit, validatePattern: boolean): void; + children?: React.ReactNode; } export declare class InputText extends React.Component { } diff --git a/components/lib/inputtextarea/InputTextarea.d.ts b/components/lib/inputtextarea/InputTextarea.d.ts index aca1adbfb1..4943b52323 100644 --- a/components/lib/inputtextarea/InputTextarea.d.ts +++ b/components/lib/inputtextarea/InputTextarea.d.ts @@ -5,6 +5,7 @@ export interface InputTextareaProps extends Omit { } diff --git a/components/lib/knob/Knob.d.ts b/components/lib/knob/Knob.d.ts index b40ad6616e..9791f52c19 100644 --- a/components/lib/knob/Knob.d.ts +++ b/components/lib/knob/Knob.d.ts @@ -23,6 +23,7 @@ export interface KnobProps extends Omit { } diff --git a/components/lib/listbox/ListBox.d.ts b/components/lib/listbox/ListBox.d.ts index 4dd783d861..8be7b3fc8c 100755 --- a/components/lib/listbox/ListBox.d.ts +++ b/components/lib/listbox/ListBox.d.ts @@ -60,6 +60,7 @@ export interface ListBoxProps extends Omit { } diff --git a/components/lib/megamenu/MegaMenu.d.ts b/components/lib/megamenu/MegaMenu.d.ts index 7ba9264927..32e748a50e 100644 --- a/components/lib/megamenu/MegaMenu.d.ts +++ b/components/lib/megamenu/MegaMenu.d.ts @@ -9,6 +9,7 @@ export interface MegaMenuProps { style?: object; className?: string; orientation?: MegaMenuOrientationType; + children?: React.ReactNode; } export declare class MegaMenu extends React.Component { } diff --git a/components/lib/mention/Mention.d.ts b/components/lib/mention/Mention.d.ts index f185a8b70e..0f5d783468 100644 --- a/components/lib/mention/Mention.d.ts +++ b/components/lib/mention/Mention.d.ts @@ -55,6 +55,7 @@ export interface MentionProps { onBlur?(event: React.FocusEvent): void; onShow?(): void; onHide?(): void; + children?: React.ReactNode; } export declare class Mention extends React.Component { } diff --git a/components/lib/menu/Menu.d.ts b/components/lib/menu/Menu.d.ts index 0ebac840aa..812539aaca 100644 --- a/components/lib/menu/Menu.d.ts +++ b/components/lib/menu/Menu.d.ts @@ -16,6 +16,7 @@ export interface MenuProps { transitionOptions?: CSSTransitionProps; onShow?(e: React.SyntheticEvent): void; onHide?(e: React.SyntheticEvent): void; + children?: React.ReactNode; } export declare class Menu extends React.Component { diff --git a/components/lib/menubar/Menubar.d.ts b/components/lib/menubar/Menubar.d.ts index bd6535ee44..1c35d2209a 100644 --- a/components/lib/menubar/Menubar.d.ts +++ b/components/lib/menubar/Menubar.d.ts @@ -12,6 +12,7 @@ export interface MenubarProps { className?: string; start?: MenubarStartTemplate; end?: MenubarEndTemplate; + children?: React.ReactNode; } export declare class Menubar extends React.Component { } diff --git a/components/lib/message/Message.d.ts b/components/lib/message/Message.d.ts index 6481b544b0..21851ebe8c 100644 --- a/components/lib/message/Message.d.ts +++ b/components/lib/message/Message.d.ts @@ -13,6 +13,7 @@ export interface MessageProps { text?: MessageTextType; severity?: MessageSeverityType; content?: MessageContentType; + children?: React.ReactNode; } export declare class Message extends React.Component { } diff --git a/components/lib/messages/Messages.d.ts b/components/lib/messages/Messages.d.ts index f3e95382bb..212caa844a 100644 --- a/components/lib/messages/Messages.d.ts +++ b/components/lib/messages/Messages.d.ts @@ -22,6 +22,7 @@ export interface MessagesProps { transitionOptions?: CSSTransitionProps; onRemove?(message: MessagesMessage): void; onClick?(message: MessagesMessage): void; + children?: React.ReactNode; } export declare class Messages extends React.Component { diff --git a/components/lib/multiselect/MultiSelect.d.ts b/components/lib/multiselect/MultiSelect.d.ts index 14058738b0..49ae079420 100755 --- a/components/lib/multiselect/MultiSelect.d.ts +++ b/components/lib/multiselect/MultiSelect.d.ts @@ -121,6 +121,7 @@ export interface MultiSelectProps extends Omit { } diff --git a/components/lib/multistatecheckbox/MultiStateCheckbox.d.ts b/components/lib/multistatecheckbox/MultiStateCheckbox.d.ts index e83d36f28f..9261f6952d 100644 --- a/components/lib/multistatecheckbox/MultiStateCheckbox.d.ts +++ b/components/lib/multistatecheckbox/MultiStateCheckbox.d.ts @@ -53,6 +53,7 @@ export interface MultiStateCheckboxProps extends Omit { } diff --git a/components/lib/orderlist/OrderList.d.ts b/components/lib/orderlist/OrderList.d.ts index 8f0c6ae718..81f040d5ea 100755 --- a/components/lib/orderlist/OrderList.d.ts +++ b/components/lib/orderlist/OrderList.d.ts @@ -17,6 +17,7 @@ export interface OrderListProps { dataKey?: string; onChange?(e: OrderListChangeParams): void; itemTemplate?(item: any): React.ReactNode; + children?: React.ReactNode; } export declare class OrderList extends React.Component { } diff --git a/components/lib/organizationchart/OrganizationChart.d.ts b/components/lib/organizationchart/OrganizationChart.d.ts index a21131a604..b8624d30a4 100644 --- a/components/lib/organizationchart/OrganizationChart.d.ts +++ b/components/lib/organizationchart/OrganizationChart.d.ts @@ -32,6 +32,7 @@ export interface OrganizationChartProps { selectionChange?(node: OrganizationChartSelectionNodeDataType): void; onNodeSelect?(e: OrganizationChartNodeSelectParams): void; onNodeUnselect?(e: OrganizationChartNodeUnselectParams): void; + children?: React.ReactNode; } export declare class OrganizationChart extends React.Component { } diff --git a/components/lib/overlaypanel/OverlayPanel.d.ts b/components/lib/overlaypanel/OverlayPanel.d.ts index 15cf9c8933..d21cda4907 100644 --- a/components/lib/overlaypanel/OverlayPanel.d.ts +++ b/components/lib/overlaypanel/OverlayPanel.d.ts @@ -23,6 +23,7 @@ export interface OverlayPanelProps { transitionOptions?: CSSTransitionProps; onShow?(): void; onHide?(): void; + children?: React.ReactNode; } export declare class OverlayPanel extends React.Component { diff --git a/components/lib/paginator/Paginator.d.ts b/components/lib/paginator/Paginator.d.ts index 91876f7891..dae19889d2 100644 --- a/components/lib/paginator/Paginator.d.ts +++ b/components/lib/paginator/Paginator.d.ts @@ -153,6 +153,7 @@ export interface PaginatorProps { currentPageReportTemplate?: string; dropdownAppendTo?: PaginatorAppendToType; onPageChange?(event: PaginatorPageState): void; + children?: React.ReactNode; } export declare class Paginator extends React.Component { } diff --git a/components/lib/panel/Panel.d.ts b/components/lib/panel/Panel.d.ts index 1518a53ed7..1728e9e900 100644 --- a/components/lib/panel/Panel.d.ts +++ b/components/lib/panel/Panel.d.ts @@ -41,6 +41,7 @@ export interface PanelProps { onExpand?(event: React.SyntheticEvent): void; onCollapse?(event: React.SyntheticEvent): void; onToggle?(e: PanelToggleParams): void; + children?: React.ReactNode; } export declare class Panel extends React.Component { } diff --git a/components/lib/panelmenu/PanelMenu.d.ts b/components/lib/panelmenu/PanelMenu.d.ts index 0e732abb13..49516475a3 100644 --- a/components/lib/panelmenu/PanelMenu.d.ts +++ b/components/lib/panelmenu/PanelMenu.d.ts @@ -9,6 +9,7 @@ export interface PanelMenuProps { className?: string; multiple?: boolean; transitionOptions?: CSSTransitionProps; + children?: React.ReactNode; } export declare class PanelMenu extends React.Component { } diff --git a/components/lib/password/Password.d.ts b/components/lib/password/Password.d.ts index 2b4f332414..231d3f0a4e 100644 --- a/components/lib/password/Password.d.ts +++ b/components/lib/password/Password.d.ts @@ -48,6 +48,7 @@ export interface PasswordProps extends Omit, validatePattern: boolean): void; onShow?(): void; onHide?(): void; + children?: React.ReactNode; } export declare class Password extends React.Component { } diff --git a/components/lib/picklist/PickList.d.ts b/components/lib/picklist/PickList.d.ts index 185149245c..c8d563120d 100755 --- a/components/lib/picklist/PickList.d.ts +++ b/components/lib/picklist/PickList.d.ts @@ -36,6 +36,7 @@ export interface PickListProps { onMoveAllToTarget?(e: PickListEventParams): void; onSourceSelectionChange?(e: PickListEventParams): void; onTargetSelectionChange?(e: PickListEventParams): void; + children?: React.ReactNode; } export declare class PickList extends React.Component { } diff --git a/components/lib/progressbar/ProgressBar.d.ts b/components/lib/progressbar/ProgressBar.d.ts index d8165a7023..56bc98f323 100644 --- a/components/lib/progressbar/ProgressBar.d.ts +++ b/components/lib/progressbar/ProgressBar.d.ts @@ -14,6 +14,7 @@ export interface ProgressBarProps { mode?: ProgressBarModeType; color?: string; displayValueTemplate?(value: ProgressBarValueType): React.ReactNode; + children?: React.ReactNode; } export declare class ProgressBar extends React.Component { } diff --git a/components/lib/progressspinner/ProgressSpinner.d.ts b/components/lib/progressspinner/ProgressSpinner.d.ts index 558fbef38b..86ed5dd649 100644 --- a/components/lib/progressspinner/ProgressSpinner.d.ts +++ b/components/lib/progressspinner/ProgressSpinner.d.ts @@ -6,7 +6,8 @@ export interface ProgressSpinnerProps { className?: string; strokeWidth?: string; fill?: string; - animationDuration?: string + animationDuration?: string; + children?: React.ReactNode; } export declare class ProgressSpinner extends React.Component { } diff --git a/components/lib/radiobutton/RadioButton.d.ts b/components/lib/radiobutton/RadioButton.d.ts index 5314d9790a..07490903ab 100644 --- a/components/lib/radiobutton/RadioButton.d.ts +++ b/components/lib/radiobutton/RadioButton.d.ts @@ -33,6 +33,7 @@ export interface RadioButtonProps extends Omit { diff --git a/components/lib/rating/Rating.d.ts b/components/lib/rating/Rating.d.ts index 9e24da7408..b1d10e63d2 100644 --- a/components/lib/rating/Rating.d.ts +++ b/components/lib/rating/Rating.d.ts @@ -27,6 +27,7 @@ export interface RatingProps extends Omit { } diff --git a/components/lib/ripple/Ripple.d.ts b/components/lib/ripple/Ripple.d.ts index 5c784729c7..e901211000 100644 --- a/components/lib/ripple/Ripple.d.ts +++ b/components/lib/ripple/Ripple.d.ts @@ -1,5 +1,7 @@ import * as React from 'react'; -export interface RippleProps {} +export interface RippleProps { + children?: React.ReactNode; +} export declare class Ripple extends React.Component { } diff --git a/components/lib/row/Row.d.ts b/components/lib/row/Row.d.ts index d41accdbab..ec49edb98e 100644 --- a/components/lib/row/Row.d.ts +++ b/components/lib/row/Row.d.ts @@ -3,6 +3,7 @@ import * as React from 'react'; export interface RowProps { style?: object; className?: string; + children?: React.ReactNode; } export declare class Row extends React.Component { } diff --git a/components/lib/scrollpanel/ScrollPanel.d.ts b/components/lib/scrollpanel/ScrollPanel.d.ts index 55f610fdab..d01ec9eb5e 100644 --- a/components/lib/scrollpanel/ScrollPanel.d.ts +++ b/components/lib/scrollpanel/ScrollPanel.d.ts @@ -4,6 +4,7 @@ export interface ScrollPanelProps { id?: string; style?: object; className?: string; + children?: React.ReactNode; } export declare class ScrollPanel extends React.Component { } diff --git a/components/lib/scrolltop/ScrollTop.d.ts b/components/lib/scrolltop/ScrollTop.d.ts index e2cc7f8610..7689a599bc 100644 --- a/components/lib/scrolltop/ScrollTop.d.ts +++ b/components/lib/scrolltop/ScrollTop.d.ts @@ -16,6 +16,7 @@ export interface ScrollTopProps { transitionOptions?: CSSTransitionProps; onShow?(): void; onHide?(): void; + children?: React.ReactNode; } export declare class ScrollTop extends React.Component { } diff --git a/components/lib/selectbutton/SelectButton.d.ts b/components/lib/selectbutton/SelectButton.d.ts index 55c22d5231..3d08964e3b 100644 --- a/components/lib/selectbutton/SelectButton.d.ts +++ b/components/lib/selectbutton/SelectButton.d.ts @@ -36,6 +36,7 @@ export interface SelectButtonProps extends Omit { } diff --git a/components/lib/sidebar/Sidebar.d.ts b/components/lib/sidebar/Sidebar.d.ts index 6f966c2e2f..ba0327bc43 100644 --- a/components/lib/sidebar/Sidebar.d.ts +++ b/components/lib/sidebar/Sidebar.d.ts @@ -28,6 +28,7 @@ export interface SidebarProps { transitionOptions?: CSSTransitionProps; onShow?(): void; onHide(): void; + children?: React.ReactNode; } export declare class Sidebar extends React.Component { } diff --git a/components/lib/skeleton/Skeleton.d.ts b/components/lib/skeleton/Skeleton.d.ts index ee71270495..d9624bf88e 100644 --- a/components/lib/skeleton/Skeleton.d.ts +++ b/components/lib/skeleton/Skeleton.d.ts @@ -13,6 +13,7 @@ export interface SkeletonProps { animation?: SkeletonAnimationType; style?: object; className?: string; + children?: React.ReactNode; } export declare class Skeleton extends React.Component { } diff --git a/components/lib/slidemenu/SlideMenu.d.ts b/components/lib/slidemenu/SlideMenu.d.ts index e581d61174..a521b75976 100644 --- a/components/lib/slidemenu/SlideMenu.d.ts +++ b/components/lib/slidemenu/SlideMenu.d.ts @@ -21,6 +21,7 @@ export interface SlideMenuProps { transitionOptions?: CSSTransitionProps; onShow?(e: React.SyntheticEvent): void; onHide?(e: React.SyntheticEvent): void; + children?: React.ReactNode; } export declare class SlideMenu extends React.Component { diff --git a/components/lib/slider/Slider.d.ts b/components/lib/slider/Slider.d.ts index c835de1b96..d8493d4bbd 100644 --- a/components/lib/slider/Slider.d.ts +++ b/components/lib/slider/Slider.d.ts @@ -26,6 +26,7 @@ export interface SliderProps extends Omit { } diff --git a/components/lib/speeddial/SpeedDial.d.ts b/components/lib/speeddial/SpeedDial.d.ts index 48cfdd5155..816af3ae3c 100644 --- a/components/lib/speeddial/SpeedDial.d.ts +++ b/components/lib/speeddial/SpeedDial.d.ts @@ -42,6 +42,7 @@ export interface SpeedDialProps { onClick?(event: React.MouseEvent): void; onShow?(): void; onHide?(): void; + children?: React.ReactNode; } export declare class SpeedDial extends React.Component { diff --git a/components/lib/splitbutton/SplitButton.d.ts b/components/lib/splitbutton/SplitButton.d.ts index a307f93b01..0fb18f8311 100644 --- a/components/lib/splitbutton/SplitButton.d.ts +++ b/components/lib/splitbutton/SplitButton.d.ts @@ -28,6 +28,7 @@ export interface SplitButtonProps { onClick?(event: React.MouseEvent): void; onShow?(): void; onHide?(): void; + children?: React.ReactNode; } export declare class SplitButton extends React.Component { diff --git a/components/lib/splitter/Splitter.d.ts b/components/lib/splitter/Splitter.d.ts index 2653740965..71fd1354a0 100644 --- a/components/lib/splitter/Splitter.d.ts +++ b/components/lib/splitter/Splitter.d.ts @@ -14,6 +14,7 @@ interface SplitterPanelProps { minSize?: number; style?: object; className?: string; + children?: React.ReactNode; } export declare class SplitterPanel extends React.Component { } @@ -27,6 +28,7 @@ export interface SplitterProps { stateKey?: string; stateStorage?: SplitterStateStorageType; onResizeEnd?(e: SplitterResizeEndParams): void; + children?: React.ReactNode; } export declare class Splitter extends React.Component { } diff --git a/components/lib/steps/Steps.d.ts b/components/lib/steps/Steps.d.ts index 04e85ec7b3..67bb4155c5 100644 --- a/components/lib/steps/Steps.d.ts +++ b/components/lib/steps/Steps.d.ts @@ -15,6 +15,7 @@ export interface StepsProps { style?: object; className?: string; onSelect?(e: StepsSelectParams): void; + children?: React.ReactNode; } export declare class Steps extends React.Component { } diff --git a/components/lib/styleclass/StyleClass.d.ts b/components/lib/styleclass/StyleClass.d.ts index afeaf6e9e5..490187e136 100644 --- a/components/lib/styleclass/StyleClass.d.ts +++ b/components/lib/styleclass/StyleClass.d.ts @@ -13,6 +13,7 @@ export interface StyleClassProps { leaveToClassName?: string; hideOnOutsideClick?: boolean; toggleClassName?: string; + children?: React.ReactNode; } export declare class StyleClass extends React.Component { } diff --git a/components/lib/tabmenu/TabMenu.d.ts b/components/lib/tabmenu/TabMenu.d.ts index 4287a03c0e..ec9c233257 100644 --- a/components/lib/tabmenu/TabMenu.d.ts +++ b/components/lib/tabmenu/TabMenu.d.ts @@ -14,6 +14,7 @@ export interface TabMenuProps { style?: object; className?: string; onTabChange?(e: TabMenuTabChangeParams): void; + children?: React.ReactNode; } export declare class TabMenu extends React.Component { } diff --git a/components/lib/tabview/TabView.d.ts b/components/lib/tabview/TabView.d.ts index 4ac494f97f..ab64b487b5 100644 --- a/components/lib/tabview/TabView.d.ts +++ b/components/lib/tabview/TabView.d.ts @@ -29,6 +29,7 @@ export interface TabPanelProps { headerClassName?: string; contentStyle?: object; contentClassName?: string; + children?: React.ReactNode; } export declare class TabPanel extends React.Component { } @@ -54,6 +55,7 @@ export interface TabViewProps { panelContainerClassName?: string; onTabChange?(e: TabViewTabChangeParams): void; onTabClose?(e: TabViewTabCloseParams): void; + children?: React.ReactNode; } // tslint:disable-next-line:max-classes-per-file diff --git a/components/lib/tag/Tag.d.ts b/components/lib/tag/Tag.d.ts index 183b91f8a0..349b9e42cf 100644 --- a/components/lib/tag/Tag.d.ts +++ b/components/lib/tag/Tag.d.ts @@ -10,6 +10,7 @@ export interface TagProps { icon?: IconType; style?: object; className?: string; + children?: React.ReactNode; } export declare class Tag extends React.Component { } diff --git a/components/lib/terminal/Terminal.d.ts b/components/lib/terminal/Terminal.d.ts index 362a363715..cf0a4b4d0a 100644 --- a/components/lib/terminal/Terminal.d.ts +++ b/components/lib/terminal/Terminal.d.ts @@ -6,6 +6,7 @@ export interface TerminalProps { className?: string; welcomeMessage?: string; prompt?: string; + children?: React.ReactNode; } export declare class Terminal extends React.Component {} diff --git a/components/lib/tieredmenu/TieredMenu.d.ts b/components/lib/tieredmenu/TieredMenu.d.ts index a0b84062a7..f91a430e33 100644 --- a/components/lib/tieredmenu/TieredMenu.d.ts +++ b/components/lib/tieredmenu/TieredMenu.d.ts @@ -16,6 +16,7 @@ export interface TieredMenuProps { transitionOptions?: CSSTransitionProps; onShow?(e: React.SyntheticEvent): void; onHide?(e: React.SyntheticEvent): void; + children?: React.ReactNode; } export declare class TieredMenu extends React.Component { diff --git a/components/lib/timeline/Timeline.d.ts b/components/lib/timeline/Timeline.d.ts index 9828ce9069..4250ecf577 100644 --- a/components/lib/timeline/Timeline.d.ts +++ b/components/lib/timeline/Timeline.d.ts @@ -17,6 +17,7 @@ export interface TimelineProps { opposite?: TimelineTemplateType; marker?: TimelineTemplateType; content?: TimelineTemplateType; + children?: React.ReactNode; } export declare class Timeline extends React.Component { } diff --git a/components/lib/toast/Toast.d.ts b/components/lib/toast/Toast.d.ts index 63e0838dc6..6cee2c0bd0 100644 --- a/components/lib/toast/Toast.d.ts +++ b/components/lib/toast/Toast.d.ts @@ -35,6 +35,7 @@ export interface ToastProps { onRemove?(message: ToastMessage): void; onShow?(): void; onHide?(): void; + children?: React.ReactNode; } export declare class Toast extends React.Component { diff --git a/components/lib/togglebutton/ToggleButton.d.ts b/components/lib/togglebutton/ToggleButton.d.ts index d34e56cf09..3c89a4cf29 100644 --- a/components/lib/togglebutton/ToggleButton.d.ts +++ b/components/lib/togglebutton/ToggleButton.d.ts @@ -35,6 +35,7 @@ export interface ToggleButtonProps extends Omit): void; onBlur?(event: React.FocusEvent): void; + children?: React.ReactNode; } export declare class ToggleButton extends React.Component { } diff --git a/components/lib/toolbar/Toolbar.d.ts b/components/lib/toolbar/Toolbar.d.ts index a2d65aeacd..6e8e1adfb7 100644 --- a/components/lib/toolbar/Toolbar.d.ts +++ b/components/lib/toolbar/Toolbar.d.ts @@ -8,6 +8,7 @@ export interface ToolbarProps { className?: string; left?: ToolbarTemplateType; right?: ToolbarTemplateType; + children?: React.ReactNode; } export declare class Toolbar extends React.Component { } diff --git a/components/lib/tooltip/Tooltip.d.ts b/components/lib/tooltip/Tooltip.d.ts index ebdbe57539..5891dfd7ca 100644 --- a/components/lib/tooltip/Tooltip.d.ts +++ b/components/lib/tooltip/Tooltip.d.ts @@ -7,6 +7,7 @@ export interface TooltipProps extends TooltipOptions { id?: string; target?: TooltipTargetType; content?: string; + children?: React.ReactNode; } export declare class Tooltip extends React.Component { diff --git a/components/lib/tree/Tree.d.ts b/components/lib/tree/Tree.d.ts index 26d3728f77..46f6336681 100644 --- a/components/lib/tree/Tree.d.ts +++ b/components/lib/tree/Tree.d.ts @@ -142,6 +142,7 @@ export interface TreeProps { onFilterValueChange?(e: TreeFilterValueChangeParams): void; onNodeClick?(e: TreeNodeClickParams): void; onNodeDoubleClick?(e: TreeNodeDoubleClickParams): void; + children?: React.ReactNode; } export declare class Tree extends React.Component { diff --git a/components/lib/treeselect/TreeSelect.d.ts b/components/lib/treeselect/TreeSelect.d.ts index 24ff5d193a..0ecea47ca2 100644 --- a/components/lib/treeselect/TreeSelect.d.ts +++ b/components/lib/treeselect/TreeSelect.d.ts @@ -106,6 +106,7 @@ export interface TreeSelectProps extends Omit { } diff --git a/components/lib/treetable/TreeTable.d.ts b/components/lib/treetable/TreeTable.d.ts index 7783b01283..c764fd5639 100644 --- a/components/lib/treetable/TreeTable.d.ts +++ b/components/lib/treetable/TreeTable.d.ts @@ -171,6 +171,7 @@ export interface TreeTableProps extends Omit { diff --git a/components/lib/tristatecheckbox/TriStateCheckbox.d.ts b/components/lib/tristatecheckbox/TriStateCheckbox.d.ts index 267b98ae86..e098d6acf5 100644 --- a/components/lib/tristatecheckbox/TriStateCheckbox.d.ts +++ b/components/lib/tristatecheckbox/TriStateCheckbox.d.ts @@ -28,6 +28,7 @@ export interface TriStateCheckboxProps extends Omit { } diff --git a/components/lib/virtualscroller/VirtualScroller.d.ts b/components/lib/virtualscroller/VirtualScroller.d.ts index 2f5506df61..6c45c79803 100644 --- a/components/lib/virtualscroller/VirtualScroller.d.ts +++ b/components/lib/virtualscroller/VirtualScroller.d.ts @@ -109,6 +109,7 @@ export interface VirtualScrollerProps { onScroll?(e: React.UIEvent): void; onScrollIndexChange?(e: VirtualScrollerChangeParams): void; onLazyLoad?(e: VirtualScrollerLazyParams): void; + children?: React.ReactNode; } export declare class VirtualScroller extends React.Component {