import React from 'react';
import EmailSelector from './EmailSelector';
export default {
  component: EmailSelector,
  title: 'EmailSelector'
};
export var Main = function Main() {
  return /*#__PURE__*/React.createElement(EmailSelector, {
    defaultSelection: [{
      email: 'david.brent@dundermiflin.com',
      label: 'David Brent'
    }]
  });
};
export var WithError = function WithError() {
  return /*#__PURE__*/React.createElement(EmailSelector, {
    defaultSelection: [{
      email: 'david.brent@dundermiflin.com',
      label: 'David Brent'
    }],
    validator: function validator() {
      return false;
    },
    error: "All labels are invalid here."
  });
};