saleor-dashboard/src/apps/components/AppDetailsSettingsPage/AppDetailsSettingsPage.stories.tsx
Jakub Majorek dbaed5478a
App adjustments (#1385)
* Use shop domain as backendHost, guard domain changes on cloud instances

* Update messages and snapshots

* Remove unused prop
2021-09-13 16:14:04 +02:00

19 lines
582 B
TypeScript

import Decorator from "@saleor/storybook/Decorator";
import { storiesOf } from "@storybook/react";
import React from "react";
import { appDetails } from "../../fixtures";
import AppDetailsSettingsPage, {
AppDetailsSettingsPageProps
} from "./AppDetailsSettingsPage";
const props: AppDetailsSettingsPageProps = {
data: appDetails,
navigateToDashboard: () => undefined,
onBack: () => undefined,
onError: () => undefined
};
storiesOf("Views / Apps / App details settings", module)
.addDecorator(Decorator)
.add("default", () => <AppDetailsSettingsPage {...props} />);