Skip to main content

pos.home.tile.render
Target

A static extension target that renders as a smart grid tile

Was this section helpful?

Tile

jsx

import {render} from 'preact';

export default async () => {
render(<Extension />, document.body);
};

const Extension = () => {
return (
<s-tile
heading="My app"
subheading="SmartGrid react Extension"
onClick={() => {
shopify.action.presentModal();
}}
/>
);
};