fix(ui): update popover label

pull/16185/head
Zoe Steinkamp 2019-12-06 11:10:47 -07:00
parent 15bc3873c8
commit 8b96c7de37
1 changed files with 8 additions and 8 deletions

View File

@ -43,7 +43,7 @@ interface Props {
@ErrorHandling
export default class InlineLabelPopover extends PureComponent<Props> {
private triggerRef: RefObject<HTMLSpanElement> = createRef()
private triggerRef= createRef<HTMLDivElement>()
public render() {
const {
@ -60,13 +60,13 @@ export default class InlineLabelPopover extends PureComponent<Props> {
return (
<>
{/* <ClickOutside onClickOutside={onDismiss}> */}
{/* <div
className="inline-labels--popover"
data-testid="inline-labels--popover"
<div
className="flux-functions-toolbar--function"
ref={this.triggerRef}
// data-testid={testID}
>
</div> */}
{/* <span ref={this.triggerRef}>?</span> */}
<Popover
type={PopoverType.Outline}
position={PopoverPosition.Below}
@ -99,7 +99,7 @@ export default class InlineLabelPopover extends PureComponent<Props> {
</span>
)}
/>
{/* </ClickOutside> */}
</div>
</>
)
}