mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 10:51:06 +00:00
refactor(tooltip): rename showIcon prop
Remove triggerClass prop.
This commit is contained in:
parent
dd5a395659
commit
28a5100e6f
3 changed files with 20 additions and 22 deletions
|
@ -23,7 +23,7 @@ export const NoIcon = () => ({
|
|||
Component,
|
||||
props: {
|
||||
story: 'no icon',
|
||||
showIcon: false,
|
||||
hideIcon: true,
|
||||
direction: select('Tooltip direction (direction)', directions, 'bottom'),
|
||||
triggerText: text('Trigger text (triggerText)', 'Tooltip label'),
|
||||
tabindex: text('Tab index (tabindex in <Tooltip>)', '0')
|
||||
|
@ -45,7 +45,6 @@ export const CustomIconOnly = () => ({
|
|||
Component,
|
||||
props: {
|
||||
story: 'custom icon only',
|
||||
showIcon: true,
|
||||
direction: select('Tooltip direction (direction)', directions, 'bottom'),
|
||||
iconDescription: 'Helpful Information',
|
||||
tabindex: text('Tab index (tabindex in <Tooltip>)', '0')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue