import { Typography } from "@material-ui/core"; import { AlertBase, Button } from "@saleor/macaw-ui"; import React from "react"; import { actions, useAppBridge } from "@saleor/app-sdk/app-bridge"; const alertStyle = { marginBottom: 40, }; export const MainInfo = () => { const { appBridge } = useAppBridge(); const openInNewTab = (url: string) => { appBridge?.dispatch( actions.Redirect({ to: url, newContext: true, }) ); }; return ( Generate invoices for Orders in your shop Open any order and generate invoice. It will be uploaded and attached to the order. App will use Seller data from configuration below
); };