import * as React from 'react';
import { PrimaryButton } from 'office-ui-fabric-react';

export interface IButtonExampleProps {
  // These are set based on the toggles shown above the examples (not needed in real code)
  disabled?: boolean;
  checked?: boolean;
}

export const ButtonScreenReaderExample: React.FunctionComponent<IButtonExampleProps> = props => {
  const { disabled, checked } = props;

  return (
    <PrimaryButton ariaDescription="Detailed description used for screen reader." disabled={disabled} checked={checked}>
      Button with Aria Description
    </PrimaryButton>
  );
};
