import React from 'react';
import { IntlProvider } from 'react-intl';
import { Time } from '../..';
export default {
  title: 'Atoms / Time',
  parameters: {
    component: Time
  }
};
export var Default = {
  render: function render() {
    return React.createElement(IntlProvider, {
      locale: "en"
    }, React.createElement(Time, {
      value: 1554824654
    }));
  }
};
export var InvalidValue = {
  render: function render() {
    return React.createElement(IntlProvider, {
      locale: "en"
    }, React.createElement(Time, {
      value: null
    }));
  }
};
export var UsesCustomSymbolForInvalidValue = {
  render: function render() {
    return React.createElement(IntlProvider, {
      locale: "en"
    }, React.createElement(Time, {
      value: null,
      invalidValue: "X"
    }));
  }
};