import { Link, Paper, Typography } from "@material-ui/core"; import { actions, useAppBridge } from "@saleor/app-sdk/app-bridge"; import { makeStyles } from "@saleor/macaw-ui"; const useStyles = makeStyles((theme) => { return { instructionsContainer: { padding: 15, }, }; }); export const Instructions = () => { const styles = useStyles(); const { appBridge } = useAppBridge(); return ( Usage instructions Example of the external link to the documentation{" "} { appBridge?.dispatch( actions.Redirect({ to: "https://saleor.io/", newContext: true, }) ); }} > here . ); };