Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
<button>
{!!accessory && <div>{accessory}</div>}
{!!title && size !== 'tiny' && <div>{title}</div>}
{}
</button>
);
}
}
Utility.propTypes = propTypes;
Utility.defaultProps = defaultProps;
Utility.Item = Menu.Item;
Utility.ItemGroup = Menu.ItemGroup;
Utility.Divider = Menu.Divider;
Utility.Opts = Menu.Opts;
export default Utility;
text="Utility Menu"
onClick={this.handleOnClick}
icon={buttonIcon}
variant="utility"
/>
);
}
}
Utility.propTypes = propTypes;
Utility.defaultProps = defaultProps;
Utility.Item = Menu.Item;
Utility.ItemGroup = Menu.ItemGroup;
Utility.Divider = Menu.Divider;
Utility.Opts = Menu.Opts;
export default Utility;