UNPKG

gatsby-plugin-react-i18next

Version:

Easily translate your Gatsby website into multiple languages

7 lines (6 loc) 415 B
import { CreateNodeArgs, Node } from 'gatsby'; import { FileSystemNode, PluginOptions } from '../types'; export declare function unstable_shouldOnCreateNode({ node }: { node: Node; }): boolean; export declare const onCreateNode: ({ node, actions, loadNodeContent, createNodeId, createContentDigest, reporter }: CreateNodeArgs<FileSystemNode>, { localeJsonSourceName, verbose }: PluginOptions) => Promise<void>;