@code-surfer/standalone
Version:
Code Surfer React component
23 lines (22 loc) • 621 B
TypeScript
/// <reference types="react" />
import { Tuple } from "./tuple";
declare type Step = {
lines: number[];
focus: Record<number, true | number[]>;
};
declare type LineListProps = {
stepPair: Tuple<Step>;
t: number;
tokens: string[][];
types: string[][];
dimensions?: {
lineHeight: number;
};
unfocusedStyle: {
opacity: number;
};
maxLineCount: number;
showNumbers?: boolean;
};
export declare function LineList({ stepPair, t, tokens, types, dimensions, unfocusedStyle, maxLineCount, showNumbers }: LineListProps): JSX.Element;
export {};