@@ -14,6 +14,11 @@ import { default as React_2 } from 'react';
|
||||
import { ReactNode } from 'react';
|
||||
import { SetStateAction } from 'react';
|
||||
|
||||
// @public
|
||||
export function createTechDocsAddonExtension(
|
||||
options: TechDocsAddonOptions,
|
||||
): Extension<() => JSX.Element | null>;
|
||||
|
||||
// @public
|
||||
export function createTechDocsAddonExtension<TComponentProps>(
|
||||
options: TechDocsAddonOptions<TComponentProps>,
|
||||
|
||||
@@ -48,17 +48,25 @@ const getDataKeyByName = (name: string) => {
|
||||
};
|
||||
|
||||
/**
|
||||
* Create a TechDocs addon.
|
||||
* Create a TechDocs addon overload signature without props.
|
||||
* @public
|
||||
*/
|
||||
export function createTechDocsAddonExtension(
|
||||
options: TechDocsAddonOptions,
|
||||
): Extension<() => JSX.Element | null>;
|
||||
|
||||
/**
|
||||
* Create a TechDocs addon overload signature with props.
|
||||
* @public
|
||||
*/
|
||||
export function createTechDocsAddonExtension<TComponentProps>(
|
||||
options: TechDocsAddonOptions<TComponentProps>,
|
||||
): Extension<(props: TComponentProps) => JSX.Element | null>;
|
||||
|
||||
/**
|
||||
* Create a TechDocs addon implementation.
|
||||
* @public
|
||||
*/
|
||||
export function createTechDocsAddonExtension<TComponentProps>(
|
||||
options: TechDocsAddonOptions<TComponentProps>,
|
||||
): Extension<(props: TComponentProps) => JSX.Element | null> {
|
||||
|
||||
Reference in New Issue
Block a user