storybook-addon-jsx
Version:
Display the JSX of the story
11 lines (10 loc) • 329 B
TypeScript
/// <reference types="react" />
import { Listener } from './register';
interface JSXProps {
/** Whether the panel is active */
active: boolean;
ob(listener: Listener): void;
}
/** The panel that renders the jsx for the story */
declare const JSX: ({ ob, active }: JSXProps) => JSX.Element | null;
export default JSX;