UNPKG

@shopify/shop-minis-react

Version:

React component library for Shopify Shop Minis with Tailwind CSS v4 support (source-only, requires TypeScript)

33 lines (30 loc) 672 B
import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' const data: ReferenceEntityTemplateSchema = { name: 'useOrders', category: 'hooks', subCategory: 'user', isVisualComponent: false, related: [], description: 'The `useOrders` hook returns a set of recent Shopify orders for the current user.', type: 'hook', defaultExample: { codeblock: { tabs: [ { code: './useOrders.example.tsx', language: 'tsx', }, ], title: 'Example code', }, }, definitions: [ { title: '', type: 'UseOrdersGeneratedType', description: '', }, ], } export default data