We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c560741 commit b4e1347Copy full SHA for b4e1347
Components/Widgets/ListItem.js
@@ -93,6 +93,16 @@ export default class ListItemNB extends NativeBaseComponent {
93
return iconComponentPresent;
94
}
95
96
+ buttonPresent() {
97
+ var buttonComponentPresent = false;
98
+ React.Children.forEach(this.props.children, function (child) {
99
+ if(child.type == Button)
100
+ buttonComponentPresent = true;
101
+ })
102
+
103
+ return buttonComponentPresent;
104
+ }
105
106
getChildStyle(child) {
107
var mergedStyle = {};
108
if(child.type == Icon) {
0 commit comments