{
- if (hasClickTrigger && !visibleControlledByParent) {
- setVisible(false);
- }
- }}
- >
- {showArrow ? (
- placement.indexOf('bottom') === 0 ? (
-
- ) : placement.indexOf('top') === 0 ? (
-
- ) : placement.indexOf('left') === 0 ? (
- <>
- {content}
-
- >
- ) : placement.indexOf('right') === 0 ? (
- <>
-
- {content}
- >
- ) : (
-
- )
- ) : (
- content
- )}
-
-