mirror of
https://github.com/yldio/copilot.git
synced 2024-12-29 05:10:05 +02:00
updating tooltip component to take style props in css
This commit is contained in:
parent
019ecd4d96
commit
16482ece37
@ -33,6 +33,8 @@ const StyledList = styled.ul`
|
||||
margin: 0;
|
||||
padding: ${remcalc(ulPadder)};
|
||||
min-width: ${remcalc(200)};
|
||||
|
||||
${props => props.style}
|
||||
|
||||
${baseBox()}
|
||||
|
||||
@ -79,6 +81,7 @@ module.exports = ({
|
||||
<StyledList
|
||||
arrowPosition={arrowPosition}
|
||||
className={className}
|
||||
style={style}
|
||||
>
|
||||
{children}
|
||||
</StyledList>
|
||||
|
Loading…
Reference in New Issue
Block a user