I’m currently working on a Tile with a Modal popup, and I’m wondering if I can control this Icon and text in the pink box. Ideally I’ll like to hide it because it is superfluous given the Modal ready has a heading (and subheading if i choose).
My Tile.jsx
import {render} from 'preact';
export default async () => {
render(<Extension />, document.body);
}
function Extension() {
const {i18n} = shopify;
return (
<s-tile
heading={i18n.translate('tile_heading')}
subheading={i18n.translate('tile_subheading')}
onClick={() => shopify.action.presentModal()}
/>
);
}
And inside the Modal.jsx
export default async () => {
render(<Extension />, document.body);
};
function Extension() {
...
return (
<s-page heading="Diggers Member Search">
<s-scroll-box>
...
</s-scroll-box>
</s-page>
);
