diff --git a/src/enums/alignment.ts b/src/enums/alignment.ts index 761fb053..313b5a00 100644 --- a/src/enums/alignment.ts +++ b/src/enums/alignment.ts @@ -6,18 +6,3 @@ export const Alignment = { Right: 'right', } as const; export type AlignmentType = UnionOfConst; - -export const DEFAULT_FILE_ALIGNMENT_SETTING = Alignment.Center; - -export const getAlignItemsFromAlignmentSetting = ( - alignment: AlignmentType = DEFAULT_FILE_ALIGNMENT_SETTING, -): 'flex-start' | 'flex-end' | 'center' => { - switch (alignment) { - case Alignment.Right: - return 'flex-end'; - case Alignment.Left: - return 'flex-start'; - case Alignment.Center: - return 'center'; - } -};