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) 791 B
import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' const data: ReferenceEntityTemplateSchema = { name: 'useRecommendedProducts', category: 'hooks', subCategory: 'product', isVisualComponent: false, related: [], description: 'The `useRecommendedProducts` hook enables fetching a list of recommended products for the user. The list may be empty if the user has no recommended products.', type: 'hook', defaultExample: { codeblock: { tabs: [ { code: './useRecommendedProducts.example.tsx', language: 'tsx', }, ], title: 'Example code', }, }, definitions: [ { title: '', type: 'UseRecommendedProductsGeneratedType', description: '', }, ], } export default data