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:
parent
019ecd4d96
commit
16482ece37
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user