UNPKG

@shopify/shop-minis-react

Version:

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

32 lines (29 loc) 653 B
import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs' const data: ReferenceEntityTemplateSchema = { name: 'useCurrentUser', category: 'hooks', subCategory: 'user', isVisualComponent: false, related: [], description: 'The `useCurrentUser` hook fetches the current user.', type: 'hook', defaultExample: { codeblock: { tabs: [ { code: './useCurrentUser.example.tsx', language: 'tsx', }, ], title: 'Example code', }, }, definitions: [ { title: '', type: 'UseCurrentUserGeneratedType', description: '', }, ], } export default data