import * as React from 'react' ; import PlaceholderWithCallout from '../../common/placeholderWithCallout/PlaceholderWithCallout' ; import { IPropertyFieldCheckboxWithCalloutHostProps } from './IPropertyFieldCheckboxWithCalloutHost' ; import * as telemetry from '../../common/telemetry' ; import { Checkbox } from 'office-ui-fabric-react/lib/components/Checkbox' ; /**
 * Renders the control for PropertyFieldCheckboxWithCallout component
 */ export default class PropertyFieldCheckboxHost extends React . Component < IPropertyFieldCheckboxWithCalloutHostProps , null > { constructor ( props ) { super ( props ) ; telemetry . track ( 'PropertyFieldCheckbox' , { disabled : props . disabled } ) ; } public render ( ) { return ( < div > < PlaceholderWithCallout { ... this . props } > < Checkbox { ... this . props } label = { this . props . text } / > < /PlaceholderWithCallout> < /div>); } }