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) 739 B
import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' const data: ReferenceEntityTemplateSchema = { name: 'useBuyerAttributes', category: 'hooks', subCategory: 'user', isVisualComponent: false, related: [], description: 'The `useBuyerAttributes` hook fetches the current buyer attributes, such as gender affinity and category affinities.', type: 'hook', defaultExample: { codeblock: { tabs: [ { code: './useBuyerAttributes.example.tsx', language: 'tsx', }, ], title: 'Example code', }, }, definitions: [ { title: 'Props', type: 'UseBuyerAttributesGeneratedType', description: '', }, ], } export default data