-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
feat: 다이얼로그 디테일 수정
- Loading branch information
Showing
9 changed files
with
151 additions
and
166 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
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
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
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,21 +1,15 @@ | ||
import React from 'react'; | ||
import { ChildrenProp, DialogDescriptionProps, DialogFooterProp } from '../types'; | ||
import { description, footer, gap, margintBottom, title } from './style.css'; | ||
import { description, footer, gap, title } from './style.css'; | ||
|
||
export function DialogTitle({ children, device }: ChildrenProp) { | ||
return <div className={title[device]}>{children}</div>; | ||
export function DialogTitle({ children }: ChildrenProp) { | ||
return <div className={title}>{children}</div>; | ||
} | ||
|
||
export function DialogDescription({ children, device, isCheck = false }: DialogDescriptionProps) { | ||
return ( | ||
<div | ||
className={`${description[device]} ${device === 'desktop' && margintBottom[`${isCheck}`]}`} | ||
> | ||
{children} | ||
</div> | ||
); | ||
export function DialogDescription({ children }: DialogDescriptionProps) { | ||
return <div className={`${description}`}>{children}</div>; | ||
} | ||
|
||
export function DialogFooter({ children, align, device }: DialogFooterProp) { | ||
return <div className={`${footer[align]} ${gap[device]}`}>{children}</div>; | ||
export function DialogFooter({ children, align }: DialogFooterProp) { | ||
return <div className={`${footer[align]} ${gap}`}>{children}</div>; | ||
} |
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
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
Oops, something went wrong.