Skip to content

Commit

Permalink
fix: prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaSimonePorceddu committed Nov 2, 2021
1 parent 842b8ff commit 2ab1020
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
18 changes: 9 additions & 9 deletions docs/src/styles/components/box.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@ import { ComponentConfig } from '@morfeo/react';
export const Box: ComponentConfig = {
tag: 'div',
style: {
fontFamily: 'regular'
fontFamily: 'regular',
},
variants: {
flexRow: {
style: {
display: 'flex',
flexDirection: 'row'
}
flexDirection: 'row',
},
},
flexColumn: {
style: {
flexDirection: 'column'
}
}
flexDirection: 'column',
},
},
},
meta: {
description: 'a simple div',
Expand All @@ -29,7 +29,7 @@ export const Box: ComponentConfig = {
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
}
}
}
},
},
},
} as ComponentConfig;
4 changes: 2 additions & 2 deletions docs/src/styles/components/button.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ export const Button: ComponentConfig = {
pointerEvent: 'none',
cursor: 'default',
'&:hover': {
opacity: 1
}
opacity: 1,
},
},
},
error: {
Expand Down
4 changes: 2 additions & 2 deletions docs/src/styles/components/card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export const Card: ComponentConfig = {
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
}
}
},
},
},
} as ComponentConfig;
4 changes: 2 additions & 2 deletions docs/src/styles/components/typography.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export const Typography: ComponentConfig = {
description: 'Typography component used to render text',
tags: ['typography', 'fonts'],
devtoolConfig: {
background: 'background'
}
background: 'background',
},
},
} as ComponentConfig;
2 changes: 1 addition & 1 deletion packages/spec/src/types/components.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export interface ComponentMeta {
background?: Color | Record<string, Color>;
label?: string;
hide?: boolean;
}
};
}

type ComponentStyle<Props extends Style = Style> = {
Expand Down

0 comments on commit 2ab1020

Please sign in to comment.