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) 696 B
import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' const data: ReferenceEntityTemplateSchema = { name: 'useRecentProducts', category: 'hooks', subCategory: 'user', isVisualComponent: false, related: [], description: "The `useRecentProducts` hook fetches the current user's recently viewed products.", type: 'hook', defaultExample: { codeblock: { tabs: [ { code: './useRecentProducts.example.tsx', language: 'tsx', }, ], title: 'Example code', }, }, definitions: [ { title: '', type: 'UseRecentProductsGeneratedType', description: '', }, ], } export default data