refactor(tooltip): rename showIcon prop

Remove triggerClass prop.
This commit is contained in:
Eric Liu 2019-12-31 14:54:37 -08:00
commit 28a5100e6f
3 changed files with 20 additions and 22 deletions

View file

@ -58,7 +58,7 @@
Show
</Button>
<div style="padding: 15px 20px; margin: 4px 20px">
<Tooltip {...$$props} bind:open showIcon={false}>
<Tooltip {...$$props} bind:open hideIcon>
<div slot="triggerText">My text wrapped with tooltip</div>
Tooltip content
</Tooltip>