import * as React from 'react' ; import { Button } from 'office-ui-fabric-react/lib/components/Button' ; import PlaceholderWithCallout from '../../common/placeholderWithCallout/PlaceholderWithCallout' ; import { IPropertyFieldButtonWithCalloutHostProps } from './IPropertyFieldButtonWithCalloutHost' ; import * as telemetry from '../../common/telemetry' ; /**
 * Renders the control for PropertyFieldButtonWithCallout component
 */ export default class PropertyFieldButtonHost extends React . Component < IPropertyFieldButtonWithCalloutHostProps , null > { constructor ( props ) { super ( props ) ; telemetry . track ( 'PropertyFieldButton' , { disabled : props . disabled } ) ; } public render ( ) { return ( < div > < PlaceholderWithCallout { ... this . props } > < Button { ... this . props } / > < /PlaceholderWithCallout> < /div>); } }