-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: 사용하지 않은 코드 삭제 및 styleProps 구조 변경
- Loading branch information
Showing
2 changed files
with
11 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 9 additions & 1 deletion
10
client/src/components/Design/components/DepositToggle/DepositToggle.type.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,18 @@ | ||
export interface DepositToggleStyleProps {} | ||
import {Theme} from '@components/Design/theme/theme.type'; | ||
|
||
export interface DepositToggleStyleProps { | ||
isDeposit: boolean; | ||
} | ||
|
||
export interface DepositToggleCustomProps { | ||
isDeposit: boolean; | ||
onToggle: () => void; | ||
} | ||
|
||
export interface DepositToggleStylePropsWithTheme extends DepositToggleStyleProps { | ||
theme: Theme; | ||
} | ||
|
||
export type DepositToggleOptionProps = DepositToggleStyleProps & DepositToggleCustomProps; | ||
|
||
export type DepositToggleProps = React.ComponentProps<'div'> & DepositToggleOptionProps; |