UNPKG

@sanity/tsdoc

Version:

Generate API reference docs from TypeScript projects and store in a Sanity-friendly JSON format. Render a static frontend, or as React components.

13 lines (11 loc) 241 B
import {defineScope} from '@sanity/ui-workshop' import {lazy} from 'react' export default defineScope({ stories: [ { name: 'article', title: 'Article', component: lazy(() => import('./ArticleStory')), }, ], })