1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-11 05:40:11 +02:00

updating tooltip component to take style props in css

This commit is contained in:
Alex Windett 2017-01-24 11:03:33 +00:00
parent 019ecd4d96
commit 16482ece37

View File

@ -34,6 +34,8 @@ const StyledList = styled.ul`
padding: ${remcalc(ulPadder)}; padding: ${remcalc(ulPadder)};
min-width: ${remcalc(200)}; min-width: ${remcalc(200)};
${props => props.style}
${baseBox()} ${baseBox()}
& > * { & > * {
@ -79,6 +81,7 @@ module.exports = ({
<StyledList <StyledList
arrowPosition={arrowPosition} arrowPosition={arrowPosition}
className={className} className={className}
style={style}
> >
{children} {children}
</StyledList> </StyledList>