import * as React from "react"; import AppHeader from "@saleor/components/AppHeader"; import Container from "@saleor/components/Container"; import Grid from "@saleor/components/Grid"; import PageHeader from "@saleor/components/PageHeader"; import i18n from "../../../i18n"; import { ListActions, PageListProps } from "../../../types"; import { WeightUnitsEnum } from "../../../types/globalTypes"; import { ShippingZoneFragment } from "../../types/ShippingZoneFragment"; import ShippingWeightUnitForm from "../ShippingWeightUnitForm"; import ShippingZonesList from "../ShippingZonesList"; export interface ShippingZonesListPageProps extends PageListProps, ListActions { defaultWeightUnit: WeightUnitsEnum; shippingZones: ShippingZoneFragment[]; onBack: () => void; onRemove: (id: string) => void; onSubmit: (unit: WeightUnitsEnum) => void; } const ShippingZonesListPage: React.StatelessComponent< ShippingZonesListPageProps > = ({ defaultWeightUnit, disabled, onBack, onSubmit, ...listProps }) => ( {i18n.t("Configuration")}
); ShippingZonesListPage.displayName = "ShippingZonesListPage"; export default ShippingZonesListPage;