Skip to content

Commit 0bde251

Browse files
Merge pull request #919 from IgniteUI/rivanova/tooltip-position-sample
feat(tooltip): add arrow to samples
2 parents 6a6df2c + c2c4113 commit 0bde251

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

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
>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export default class TooltipStyling extends React.Component<any, any> {
1616
<IgrAvatar id="avatar" shape="circle"
1717
src="https://www.infragistics.com/angular-demos-lob/assets/images/avatar/10.jpg"
1818
></IgrAvatar>
19-
<IgrTooltip placement="bottom-start" anchor="avatar">
19+
<IgrTooltip placement="bottom-start" anchor="avatar" withArrow={true}>
2020
Her name is Madelyn James
2121
</IgrTooltip>
2222
</div>

0 commit comments

Comments
 (0)