chore: fix prettier errors

This commit is contained in:
Fredrik Adelöw
2020-09-07 11:14:56 +02:00
parent ea10e74557
commit 7245158e71
2 changed files with 7 additions and 21 deletions
+1
View File
@@ -5,3 +5,4 @@ coverage
*.hbs
templates
plugins/scaffolder-backend/sample-templates
.vscode
@@ -13,6 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import React from 'react';
import { Chip } from '@material-ui/core';
@@ -21,36 +22,20 @@ export default {
component: Chip,
};
export const Default = () => (
<Chip label="Default" />
);
export const Default = () => <Chip label="Default" />;
export const LargeDeletable = () => (
<Chip
label="Large deletable"
size="medium"
onDelete={() => ({})}
/>
<Chip label="Large deletable" size="medium" onDelete={() => ({})} />
);
export const LargeNotDeletable = () => (
<Chip
label="Large not deletable"
size="medium"
/>
<Chip label="Large not deletable" size="medium" />
);
export const SmallDeletable = () => (
<Chip
label="Small deletable"
size="small"
onDelete={() => ({})}
/>
<Chip label="Small deletable" size="small" onDelete={() => ({})} />
);
export const SmallNotDeletable = () => (
<Chip
label="Small not deletable"
size="small"
/>
<Chip label="Small not deletable" size="small" />
);