import React, { SyntheticEvent } from "react"; import BaseControl, { ControlProps } from "./BaseControl"; import { ControlType } from "../constants/PropertyControlConstants"; import { Button, MenuItem } from "@blueprintjs/core"; import { IItemRendererProps } from "@blueprintjs/select"; import { ControlWrapper, StyledDropDown } from "./StyledControls"; class DropDownControl extends BaseControl { constructor(props: DropDownControlProps) { super(props); this.onItemSelect = this.onItemSelect.bind(this); } render() { const selected: DropdownOption | undefined = this.props.options.find( option => option.value === this.props.propertyValue, ); return ( } >