You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add Storybook stories for components in the modules/ui/tooltip folder:
AppTooltip
➡️ Default story which renders a "Hover me" button with a tooltip. Use ComponentDecorator as a decorator and add a play function to test hovering the button.
➡️ Catalog story which renders all possibilities for the place prop : left, bottom, top and right. Use CatalogDecorator and the catalog parameter. Use args : isOpen: true to force open tooltips.
OverflowingTextWithTooltip
➡️ Default story. Use ComponentDecorator as a decorator. Use args : text: [insert here a long Lorem ipsum paragraph] and add a play function to test hovering the text.
Add Storybook stories for components in the modules/ui/tooltip folder:
AppTooltip
➡️
Default
story which renders a "Hover me" button with a tooltip. UseComponentDecorator
as a decorator and add aplay
function to test hovering the button.➡️
Catalog
story which renders all possibilities for theplace
prop :left
,bottom
,top
andright
. UseCatalogDecorator
and thecatalog
parameter. Useargs
:isOpen: true
to force open tooltips.OverflowingTextWithTooltip
➡️
Default
story. UseComponentDecorator
as a decorator. Useargs
:text: [insert here a long Lorem ipsum paragraph]
and add aplay
function to test hovering the text.See http://localhost:6006/?path=/docs/ui-chip-chip--docs example (Default component with control + Catalog)
The text was updated successfully, but these errors were encountered: