File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -32,4 +32,8 @@ default style for popup
3232 stroke : # d7d7d7 ;
3333 stroke-dasharray : 30px ;
3434 stroke-dashoffset : -54px ;
35+ left : 0 ;
36+ right : 0 ;
37+ top : 0 ;
38+ bottom : 0 ;
3539}
Original file line number Diff line number Diff line change @@ -21,7 +21,14 @@ const Template: Story<PopupProps> = args => (
2121export const SimpleTooltip = Template . bind ( { } ) ;
2222
2323SimpleTooltip . args = {
24- trigger : < button > click Me </ button > ,
24+ trigger : < button > Click Me </ button > ,
25+ } ;
26+
27+ export const CenteredTextTooltip = Template . bind ( { } ) ;
28+
29+ CenteredTextTooltip . args = {
30+ trigger : < button > Click Me </ button > ,
31+ contentStyle : { textAlign : 'center' }
2532} ;
2633
2734const PositionsTooltipTemplate : Story < PopupProps > = args => (
You can’t perform that action at this time.
0 commit comments