chore(prettier): full repo linting and code reformatting once and for all (#3627)
This commit is contained in:
1 parent
01500a2d4c
commit
9045ddaedc
656 files changed
+21737
-20628
No files matched your search
@@ -41,11 +41,7 @@ const ToolbarButton = ({
|
||||
|
||||
const activeClass = isActive ? 'active' : '';
|
||||
const shouldShowDropdown = !!isActive && !!dropdownContent;
|
||||
const iconEl = icon ? (
|
||||
<Icon name={icon} />
|
||||
) : (
|
||||
<div>{label || 'Missing icon and label'}</div>
|
||||
);
|
||||
const iconEl = icon ? <Icon name={icon} /> : <div>{label || 'Missing icon and label'}</div>;
|
||||
|
||||
return (
|
||||
<div key={id}>
|
||||
|
||||
@@ -8,9 +8,12 @@ export const argTypes = {
|
||||
title: 'Components/ToolbarButton',
|
||||
};
|
||||
|
||||
<Meta title="Components/ToolbarButton" component={ToolbarButton} />
|
||||
<Meta
|
||||
title="Components/ToolbarButton"
|
||||
component={ToolbarButton}
|
||||
/>
|
||||
|
||||
export const ToolbarButtonTemplate = (args) => (
|
||||
export const ToolbarButtonTemplate = args => (
|
||||
<div className="bg-primary-dark h-16">
|
||||
<div class="w-8">
|
||||
<ToolbarButton {...args} />
|
||||
|
||||
Reference in new issue
Block a user