import * as React from 'react';

import {
  Spinner,
  Toggle,
  Checkbox,
  PrimaryButton,
  ProgressIndicator,
  ChoiceGroup,
  DefaultButton,
  PersonaCoin,
} from 'office-ui-fabric-react';

const ToggleStrings = {
  onText: 'On',
  offText: 'Off',
};

const TodoApp = () => {
  return (
    <div>
      <Toggle {...ToggleStrings} disabled />
      <Toggle {...ToggleStrings} />
      <Toggle {...ToggleStrings} checked />
      <Spinner />
      <PrimaryButton text="I am a PrimaryButton" />
      <DefaultButton text="I am a DefaultButton" />
      <Checkbox label="I am a Checkbox" />
      <Checkbox label="I am a Checkbox" disabled />
      <Checkbox label="I am a Checkbox" checked />
      <ChoiceGroup
        options={[
          { key: '1', text: 'ChoiceGroup option 1' },
          { key: '2', text: 'ChoiceGroup option 2', checked: true },
        ]}
      />
      <ProgressIndicator percentComplete={0.5} />
      <PersonaCoin text="David Zearing" />
    </div>
  );
};

export default TodoApp;
