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) 783 B
import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' const data: ReferenceEntityTemplateSchema = { name: 'useShopCartActions', category: 'hooks', subCategory: 'shop', isVisualComponent: false, related: [], description: 'The `useShopCartActions` hook provides functions for managing the shopping cart. It includes operations for adding products to the cart and buying products directly.', type: 'hook', defaultExample: { codeblock: { tabs: [ { code: './useShopCartActions.example.tsx', language: 'tsx', }, ], title: 'Example code', }, }, definitions: [ { title: '', type: 'UseShopCartActionsGeneratedType', description: '', }, ], } export default data