UNPKG

react-carousel-query

Version:

A infinite carousel component made with react that handles the pagination for you.

18 lines (17 loc) 705 B
import { Formatter } from './Formatter'; interface CodeFrameFormatterOptions { /** Syntax highlight the code as JavaScript for terminals. default: false */ highlightCode?: boolean; /** The number of lines to show above the error. default: 2 */ linesBelow?: number; /** The number of lines to show below the error. default: 3 */ linesAbove?: number; /** * Forcibly syntax highlight the code as JavaScript (for non-terminals); * overrides highlightCode. * default: false */ forceColor?: boolean; } declare function createCodeframeFormatter(options?: CodeFrameFormatterOptions): Formatter; export { createCodeframeFormatter, CodeFrameFormatterOptions };