@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) • 780 B
text/typescript
import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs'
const data: ReferenceEntityTemplateSchema = {
name: 'useAsyncStorage',
category: 'hooks',
subCategory: 'storage',
isVisualComponent: false,
related: [],
description:
'The `useAsyncStorage` hook provides functions to interact with persistent storage. It allows you to store, retrieve, and manage data that persists between app sessions.',
type: 'hook',
defaultExample: {
codeblock: {
tabs: [
{
code: './useAsyncStorage.example.tsx',
language: 'tsx',
},
],
title: 'Example code',
},
},
definitions: [
{
title: '',
type: 'UseAsyncStorageGeneratedType',
description: '',
},
],
}
export default data