import * as React from "react"; import { Popover, PopoverInteractionKind, Position } from "@blueprintjs/core"; interface InputErrorProps { error?: string; } export const InputError = (props: InputErrorProps) => props.error ?

{props.error}

:
;