UNPKG

619 BTypeScriptView Raw
1import { ReactElement } from 'react';
2import { API } from '@storybook/api';
3interface Props {
4 active: boolean;
5 api: API;
6}
7interface SyntaxHighlighterProps {
8 className?: string;
9 children: ReactElement;
10 [key: string]: any;
11}
12export declare const SyntaxHighlighter: ({ className, children, ...props }: SyntaxHighlighterProps) => JSX.Element;
13interface NotesLinkProps {
14 href: string;
15 children: ReactElement;
16}
17export declare const NotesLink: ({ href, children, ...props }: NotesLinkProps) => JSX.Element;
18declare const NotesPanel: ({ active }: Props) => JSX.Element;
19export default NotesPanel;