define([], function() { return "import * as React from 'react';\nimport {\n  Checkbox\n  } from '../../../../index';\n\nexport class CheckboxBasicExample extends React.Component<any, any> {\n  constructor() {\n    super();\n    this._onToggleChanged = this._onToggleChanged.bind(this);\n  }\n\n  public render() {\n    return (\n      <div>\n        <Checkbox text='Unselected item' onChanged={ this._onToggleChanged } />\n        <Checkbox text='Selected item' onChanged={ this._onToggleChanged } isChecked={ true } />\n        <Checkbox text='Disabled item' isEnabled={ false } />\n      </div>\n    );\n  }\n\n  private _onToggleChanged(isChecked: boolean) {\n    console.log(`The option has been changed to ${ isChecked }.`);\n  }\n\n}\n"; });