Skip to content

Commit da6141f

Browse files
committed
Fix: TopBarLayout의 props를 전체 TopBarProps가 아닌 $withBorder로 수정
1 parent 8106a5b commit da6141f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/components/TopBar/styles.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ import theme from '@styles/theme';
44

55
import { StyledText } from '@components/Text/StyledText';
66

7-
import type { TopBarLayoutProps } from './dto';
8-
export const TopBarLayout = styled.header<TopBarLayoutProps>`
7+
export const TopBarLayout = styled.header<{ $withBorder: boolean }>`
98
display: flex;
109
position: sticky;
1110
top: 0; /* 부모 요소의 상단에 붙도록 설정 */

0 commit comments

Comments
 (0)