UNPKG

@redocly/theme

Version:

Shared UI components lib

16 lines (15 loc) 439 B
import type { JSX, ReactNode } from 'react'; export type SvgViewerLabels = { zoomIn?: string; zoomOut?: string; fitToView?: string; close?: string; dialogLabel?: string; }; export type SvgViewerProps = { isOpen: boolean; onClose: () => void; children: ReactNode; labels?: SvgViewerLabels; }; export declare function SvgViewer({ isOpen, onClose, children, labels, }: SvgViewerProps): JSX.Element | null;