schema-finder
Version:
A simple React component for viewing and exploring a JSONSchema
20 lines • 681 B
TypeScript
import React from "react";
import { SchemaEntry } from "./internal";
export interface ColumnProps {
readonly idx: number;
readonly entries: SchemaEntry[];
readonly selectedRow?: number;
readonly isLast?: boolean;
readonly clickHandler: (entry: SchemaEntry) => () => void;
readonly focus?: boolean;
}
export declare const Column: React.VFC<ColumnProps>;
export interface RowProps {
readonly clickHandler: (entry: SchemaEntry) => () => void;
readonly colIdx: number;
readonly entry: SchemaEntry;
readonly isLast?: boolean;
readonly selectedRow?: number;
}
export declare const Row: React.VFC<RowProps>;
//# sourceMappingURL=Column.d.ts.map