storybookjs / design-system

🗃 Storybook Design System

Home Page:https://master--5ccbc373887ca40020446347.chromatic.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix usage of "mode" and "hover" in WithTooltip

kylesuss opened this issue · comments

cursor: ${props => (props.mode === 'hover' ? 'default' : 'pointer')};

The styled component references a prop called "mode" but that prop is only being passed down by coincidence. The true prop to use in that case is "trigger" which is validated in the PropTypes

@kylesuss ah, it's already solved the issue. maybe is it should be closed? because I understood that when forking the repo

@dbarabashdev good call thanks. This was fixed by: 4454db6