tinacms
Version:
> The Fastest Way to Edit Next.js Content
12 lines (11 loc) • 594 B
TypeScript
import * as React from 'react';
import { BranchSwitcherProps, Branch } from './types';
export declare function formatBranchName(str: string): string;
export declare const BranchSwitcherLegacy: ({ listBranches, createBranch, chooseBranch, }: BranchSwitcherProps) => JSX.Element;
export declare const getFilteredBranchList: (branchList: Branch[], filter: string, currentBranchName: string) => Branch[];
export declare const CreateBranch: React.FC<{
setNewBranchName: (value: any) => void;
onCreateBranch: (value: string) => void;
currentBranch: string;
newBranchName: string;
}>;