File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,14 +19,14 @@ export const StyledNavigation = styled.div<NavigationProps>`
1919`
2020
2121interface StyledContentWrapperProps {
22- scroll ?: boolean
22+ withScroll ?: boolean
2323}
2424
2525export 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;
Original file line number Diff line number Diff 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 ) && (
You can’t perform that action at this time.
0 commit comments