@stoplight/elements-core
Version:
26 lines (25 loc) • 675 B
TypeScript
import React from 'react';
interface LazySchemaTreePreviewerProps {
schema: any;
root?: any;
title?: string;
level?: number;
path?: string;
maskState?: Record<string, {
checked: boolean;
required: 0 | 1 | 2;
}>;
setMaskState?: React.Dispatch<React.SetStateAction<Record<string, {
checked: boolean;
required: 0 | 1 | 2;
}>>>;
hideData?: Array<{
path: string;
required?: boolean;
}>;
parentRequired?: string[];
propertyKey?: string;
_subType?: string;
}
declare const LazySchemaTreePreviewer: React.FC<LazySchemaTreePreviewerProps>;
export default LazySchemaTreePreviewer;