import * as React from "react"
import { storiesOf } from "@storybook/react"
import ProvinceInputSelect from "../ProvinceInput"
import { ThemeProvider } from "styled-components"
import { theme } from "../../../"
import { MockedProvider } from "react-apollo/test-utils"
const provinceList = require("./provinces.json")

const mocks = [

]

storiesOf("Address", module)
  .addDecorator((story) => (
    <ThemeProvider theme={theme}>
      <MockedProvider mocks={mocks}>{story()}</MockedProvider>
    </ThemeProvider>
  ))
  .add("Province", () => <ProvinceInputSelect result={provinceList} />)
