Skip to content

Commit

Permalink
Changed property name to remove warning (#895)
Browse files Browse the repository at this point in the history
Some issue with styled-components is causing warning message
  • Loading branch information
raaymax authored and huv1k committed Dec 6, 2018
1 parent fcbee91 commit 740a66b
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -14,7 +14,7 @@ const ColumnDoc = ({
width = columnWidth,
}: Props) => {
return (
<Column style={{ width }} overflow={overflow}>
<Column style={{ width }} verticalScroll={overflow}>
{children}
</Column>
)
Expand All @@ -23,7 +23,7 @@ const ColumnDoc = ({
export default ColumnDoc

interface ColumnProps {
overflow: boolean
verticalScroll: boolean
}

const Column = styled<ColumnProps, 'div'>('div')`
Expand All @@ -32,6 +32,6 @@ const Column = styled<ColumnProps, 'div'>('div')`
flex-flow: column;
padding-bottom: 20px;
border-right: 1px solid ${p => p.theme.colours.black10};
overflow-x: ${p => (p.overflow ? 'hidden' : 'auto')}
overflow-y: ${p => (p.overflow ? 'scroll' : 'auto')}
overflow-x: ${p => (p.verticalScroll ? 'hidden' : 'auto')}
overflow-y: ${p => (p.verticalScroll ? 'scroll' : 'auto')}
`

0 comments on commit 740a66b

Please sign in to comment.