Skip to content

Instantly share code, notes, and snippets.

Created January 3, 2021 04:08
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
pages/index.js Add the title bar
import { EmptyState, Layout, Page } from '@shopify/polaris';
import { TitleBar } from '@shopify/app-bridge-react';
const img = '';
const Index = () => (
title="Sample App"
content: 'Select products',
heading="Discount your products temporarily"
content: 'Select products',
onAction: () => console.log('clicked'),
<p>Select products to change their price temporarily.</p>
export default Index;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment