| 1 |
import styles from '@patternfly/react-styles/css/components/Tooltip/tooltip'; |
| 2 |
import { css } from '@patternfly/react-styles'; |
| 3 |
|
| 4 |
export interface TooltipArrowProps extends React.HTMLProps<HTMLDivElement> { |
| 5 |
/** className */ |
| 6 |
className?: string; |
| 7 |
} |
| 8 |
|
| 9 |
export const TooltipArrow: React.FunctionComponent<TooltipArrowProps> = ({ |
| 10 |
className, |
| 11 |
...props |
| 12 |
}: TooltipArrowProps) => <div className={css(styles.tooltipArrow, className)} {...props} />; |
| 13 |
TooltipArrow.displayName = 'TooltipArrow'; |