
* Use shop domain as backendHost, guard domain changes on cloud instances * Update messages and snapshots * Remove unused prop
19 lines
582 B
TypeScript
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} />);
|