Skip to content

Commit 40ceccf

Browse files
authored
Senna 리뷰 반영 (styled props 이름 변경) (#76)
1 parent 693a44c commit 40ceccf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/layout/Navigation/Navigation.styled.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ export const StyledNavigation = styled.div<NavigationProps>`
1919
`
2020

2121
interface StyledContentWrapperProps {
22-
scroll?: boolean
22+
withScroll?: boolean
2323
}
2424

2525
export const StyledContentWrapper = styled.div<StyledContentWrapperProps>`
2626
width: 100%;
2727
height: 100%;
2828
overflow-x: hidden;
29-
overflow-y: ${props => (props.scroll ? 'auto' : 'hidden')};
29+
overflow-y: ${props => (props.withScroll ? 'auto' : 'hidden')};
3030
3131
& > *:last-child {
3232
margin-bottom: 40px !important;

src/layout/Navigation/Navigation.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ function Navigation(
111111
) }
112112
<StyledContentWrapper
113113
ref={scrollRef}
114-
scroll={withScroll}
114+
withScroll={withScroll}
115115
data-testid={NAV_SCROLL_TEST_ID}
116116
>
117117
{ (title && !fixedTitle) && (

0 commit comments

Comments
 (0)