polen
Version:
A framework for delightful GraphQL developer portals
16 lines • 504 B
TypeScript
import { Pre as CodeHikePre } from 'codehike/code';
import React from 'react';
type CodeHikePreProps = React.ComponentProps<typeof CodeHikePre>;
type HTMLPreProps = React.ComponentPropsWithoutRef<'pre'>;
type PreProps = CodeHikePreProps | HTMLPreProps;
/**
* Custom Pre component that adds interactive GraphQL support to Code Hike
*
* Usage in MDX:
* ```graphql interactive
* query { ... }
* ```
*/
export declare const Pre: React.FC<PreProps>;
export {};
//# sourceMappingURL=CodeHikePre.d.ts.map