diff --git a/components/lib/button/Button.js b/components/lib/button/Button.js
index 6823b709b8..179d88e177 100644
--- a/components/lib/button/Button.js
+++ b/components/lib/button/Button.js
@@ -87,5 +87,6 @@ Button.defaultProps = {
tooltipOptions: null,
disabled: false,
loading: false,
- loadingIcon: 'pi pi-spinner pi-spin'
+ loadingIcon: 'pi pi-spinner pi-spin',
+ visible: true
};
diff --git a/components/lib/datatable/BodyCell.js b/components/lib/datatable/BodyCell.js
index c866854c66..d11f34fac0 100644
--- a/components/lib/datatable/BodyCell.js
+++ b/components/lib/datatable/BodyCell.js
@@ -557,7 +557,7 @@ export const BodyCell = React.memo((props) => {
};
content = (
-
+
);
if (body) {
diff --git a/components/lib/datatable/RowTogglerButton.js b/components/lib/datatable/RowTogglerButton.js
index acde3b714c..390c24642d 100644
--- a/components/lib/datatable/RowTogglerButton.js
+++ b/components/lib/datatable/RowTogglerButton.js
@@ -14,7 +14,7 @@ export const RowTogglerButton = React.memo((props) => {
const iconClassName = classNames('p-row-toggler-icon', props.expanded ? props.expandedRowIcon : props.collapsedRowIcon);
const label = props.expanded ? ariaLabel('collapseLabel') : ariaLabel('expandLabel');
- return ;
+ return ;
});
RowTogglerButton.displayName = 'RowTogglerButton';
diff --git a/components/lib/inplace/Inplace.js b/components/lib/inplace/Inplace.js
index 603f3dc2b3..8fb9148efe 100644
--- a/components/lib/inplace/Inplace.js
+++ b/components/lib/inplace/Inplace.js
@@ -66,7 +66,7 @@ export const Inplace = React.forwardRef((props, ref) => {
const createCloseButton = () => {
if (props.closable) {
- return ;
+ return ;
}
return null;
diff --git a/components/lib/tree/UITreeNode.js b/components/lib/tree/UITreeNode.js
index 13cf286895..27ce68e88d 100644
--- a/components/lib/tree/UITreeNode.js
+++ b/components/lib/tree/UITreeNode.js
@@ -578,7 +578,7 @@ export const UITreeNode = React.memo((props) => {
const createToggler = () => {
const label = expanded ? ariaLabel('collapseLabel') : ariaLabel('expandLabel');
const iconClassName = classNames('p-tree-toggler-icon pi pi-fw', { 'pi-chevron-right': !expanded, 'pi-chevron-down': expanded });
- let content = ;
+ let content = ;
if (props.togglerTemplate) {
const defaultContentOptions = {
diff --git a/components/lib/treetable/TreeTableRow.js b/components/lib/treetable/TreeTableRow.js
index 6ab30f21a6..f0ac25bdf9 100644
--- a/components/lib/treetable/TreeTableRow.js
+++ b/components/lib/treetable/TreeTableRow.js
@@ -272,7 +272,7 @@ export const TreeTableRow = React.memo((props) => {
const iconClassName = classNames('p-treetable-toggler-icon pi pi-fw', { 'pi-chevron-right': !expanded, 'pi-chevron-down': expanded });
const style = { marginLeft: props.level * 16 + 'px', visibility: props.node.leaf === false || (props.node.children && props.node.children.length) ? 'visible' : 'hidden' };
- return ;
+ return ;
};
const createCheckbox = () => {