From 7b37d327df0e8180c75e8218541dcc966e08311f Mon Sep 17 00:00:00 2001 From: Andrea Simone Porceddu Date: Sat, 13 Nov 2021 20:10:19 +0100 Subject: [PATCH] fix: prettier --- .../src/morfeo-components/Forms/Input.ts | 18 +++++++++--------- .../morfeo-components/Forms/InputFeedback.ts | 16 ++++++++-------- .../src/morfeo-components/Forms/Label.ts | 6 +++--- 3 files changed, 20 insertions(+), 20 deletions(-) diff --git a/apps/web-sandbox/src/morfeo-components/Forms/Input.ts b/apps/web-sandbox/src/morfeo-components/Forms/Input.ts index a935ce23..257bf8ea 100644 --- a/apps/web-sandbox/src/morfeo-components/Forms/Input.ts +++ b/apps/web-sandbox/src/morfeo-components/Forms/Input.ts @@ -29,27 +29,27 @@ export const Input: ComponentConfig = { style: { outlineColor: 'error', outline: 'strong', - } + }, }, success: { style: { outlineColor: 'success', outline: 'strong', - } + }, }, warning: { style: { outlineColor: 'warning', outline: 'strong', - } + }, }, small: { style: { fontSize: 's', py: '2xs', px: '2xs', - lineHeight: 'none' - } + lineHeight: 'none', + }, }, 'small.error': { style: { @@ -57,7 +57,7 @@ export const Input: ComponentConfig = { variant: 'Small', outlineColor: 'error', outline: 'strong', - } + }, }, 'small.warning': { style: { @@ -65,7 +65,7 @@ export const Input: ComponentConfig = { variant: 'Small', outlineColor: 'warning', outline: 'strong', - } + }, }, 'small.success': { style: { @@ -73,7 +73,7 @@ export const Input: ComponentConfig = { variant: 'Small', outlineColor: 'success', outline: 'strong', - } - } + }, + }, }, }; diff --git a/apps/web-sandbox/src/morfeo-components/Forms/InputFeedback.ts b/apps/web-sandbox/src/morfeo-components/Forms/InputFeedback.ts index feffaea9..17ea5504 100644 --- a/apps/web-sandbox/src/morfeo-components/Forms/InputFeedback.ts +++ b/apps/web-sandbox/src/morfeo-components/Forms/InputFeedback.ts @@ -1,4 +1,4 @@ -import { ComponentConfig } from "@morfeo/react"; +import { ComponentConfig } from '@morfeo/react'; export const InputFeedback: ComponentConfig = { tag: 'p', @@ -8,23 +8,23 @@ export const InputFeedback: ComponentConfig = { fontWeight: 'bold', lineHeight: 'none', letterSpacing: 'body', - mt: '2xs' + mt: '2xs', }, variants: { error: { style: { color: 'error', - } + }, }, warning: { style: { color: 'warning', - } + }, }, success: { style: { color: 'success', - } - } - } -} \ No newline at end of file + }, + }, + }, +}; diff --git a/apps/web-sandbox/src/morfeo-components/Forms/Label.ts b/apps/web-sandbox/src/morfeo-components/Forms/Label.ts index 46a81bfb..6f40f47c 100644 --- a/apps/web-sandbox/src/morfeo-components/Forms/Label.ts +++ b/apps/web-sandbox/src/morfeo-components/Forms/Label.ts @@ -14,7 +14,7 @@ export const Label: ComponentConfig = { small: { style: { fontSize: 'xs', - } - } + }, + }, }, -} \ No newline at end of file +};