@tinacms/toolkit
Version:
Tina is a lightweight but powerful toolkit for creating a site editing ui with javascript components. Tina surfaces superpowers for dev’s to create, expand on and customize a simple yet intuitive ui for editing 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;
}>;