library/styleguideComponents/ToolbarButton/index.js
Function ToolbarButton
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function ToolbarButton(props) {
const { onClick, href, title, children } = props;
if (href !== undefined && title === 'Open isolated') {
return (