Skip to content

Commit 8186566

Browse files
committed
feat(tooltip): add arrow to position sample
1 parent 8df47bc commit 8186566

File tree

1 file changed

+5
-5
lines changed
  • samples/inputs/tooltip/placement/src

1 file changed

+5
-5
lines changed

samples/inputs/tooltip/placement/src/index.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,17 @@ export default class TooltipPlacement extends React.Component<any, any> {
3535
<IgrButton
3636
variant="outlined"
3737
id="tooltip-position"
38-
style={{ textAlign: "center" }}
3938
>Click to trigger all supported placements
4039
</IgrButton>
4140

4241
{this.Positions.map((pos) => (
4342
<IgrTooltip
4443
anchor="tooltip-position"
45-
show-triggers="click"
46-
show-delay="0"
47-
hide-delay="0"
48-
sticky
44+
showTriggers="click"
45+
showDelay={0}
46+
hideDelay={0}
47+
sticky={true}
48+
withArrow={true}
4949
placement={pos}
5050
key={pos}
5151
>

0 commit comments

Comments
 (0)