@prismicio/react
Version:
React components and hooks to fetch and present Prismic content
15 lines (14 loc) • 466 B
TypeScript
import { FC } from "react";
/** Props for `<PrismicToolbar>`. */
export type PrismicToolbarProps = {
/**
* The name of the Prismic repository. For example, `"my-repo"` if the
* repository URL is `my-repo.prismic.io`.
*/
repositoryName: string;
};
/**
* React component that injects the Prismic Toolbar into the app. This component
* can be placed anywhere in the React tree.
*/
export declare const PrismicToolbar: FC<PrismicToolbarProps>;