UNPKG

next-csrf

Version:

CSRF mitigation library for Next.js

8 lines (7 loc) 231 B
import * as React from 'react'; import { StackFrame } from 'stacktrace-parser'; export declare type CodeFrameProps = { stackFrame: StackFrame; codeFrame: string; }; export declare const CodeFrame: React.FC<CodeFrameProps>;