Merge pull request #2308 from spotify/freben/prettuer

chore: fix prettier errors
This commit is contained in:
Fredrik Adelöw
2020-09-07 11:36:23 +02:00
committed by GitHub
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" />
);