Skip to content

Commit

Permalink
[Fix] Atom의 생 enum 타입을 const enum으로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
nebulaBdj committed Jun 20, 2024
1 parent 77af658 commit e943947
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions weatherfit_refactoring/src/Components/Atoms/Box/BoxStore.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import { MouseEventHandler } from 'react'

export enum BoxStyle {
export const enum BoxStyle {
BOX_WHITE = 'BOX_WHITE',
BOX_YELLOW = 'BOX_YELLOW',
BOX_BLUE = 'BOX_BLUE',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Image from 'next/image'
import { KeyboardEventHandler } from 'react'

export enum IconStyle {
export const enum IconStyle {
MY_PROFILE = 'MY_PROFILE',
MY_PROFILE_FILL = 'MY_PROFILE_FILL',
UPLOAD_FILL = 'UPLOAD_FILL',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
KeyboardEventHandler,
} from 'react'

export enum InputStyle {
export const enum InputStyle {
INPUT_WHITE = 'INPUT_WHITE',
INPUT_SEARCH = 'INPUT_SEARCH',
INPUT_IMAGE = 'INPUT_IMAGE',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export enum TextStyle {
export const enum TextStyle {
GMARKET_TEXT = 'GMARKET_TEXT',
NANUM_TEXT = 'NANUM_TEXT',
CAFE_TEXT = 'CAFA_TEXT',
Expand Down

0 comments on commit e943947

Please sign in to comment.