@sanity/ui-workshop
Version:
An environment for designing, reviewing, and quality-testing React components.
22 lines (18 loc) • 399 B
text/typescript
import {ElementType} from 'react'
import {ReactNode} from 'react'
/** @internal */
export declare function a11yPlugin(): WorkshopPlugin
/** @public */
declare interface WorkshopPlugin<Options = any> {
name: string
title: string
inspector?: ElementType<{
options: Options
}>
provider?: ElementType<{
children?: ReactNode
options: Options
}>
options?: Options
}
export {}