UNPKG

utterances-react-component

Version:
22 lines (19 loc) 656 B
import { FC } from 'react'; export declare type UtterancesProps = Utterances; export declare type Utterances = { repo: Repo; label?: string; theme: Theme; } & Issue; export declare type Repo = `${string}/${string}`; export declare type Issue = { issueTerm: Term | string[]; issueNumber?: never; } | { issueTerm?: never; issueNumber: number; }; export declare type Term = "pathname" | "url" | "title" | "og:title"; export declare type Theme = "github-light" | "github-dark" | "preferred-color-scheme" | "github-dark-orange" | "icy-dark" | "dark-blue" | "photon-dark" | "boxy-light"; export declare const Utterances: FC<UtterancesProps>; export {};