@stripe/ui-extension-sdk
Version:
The suite of functionality available to UI extensions in Stripe apps
9 lines (8 loc) • 334 B
TypeScript
import type { Node } from '@remote-ui/testing';
export interface DebugOptions {
all?: boolean;
depth?: number;
verbosity?: number;
}
export declare function nodeName(node: Node<unknown>): string;
export declare function nodeChildToString<Props>(node: Node<Props> | string, options?: DebugOptions, level?: number): string;