UNPKG

tinacms

Version:

[![GitHub license](https://img.shields.io/github/license/tinacms/tinacms?color=blue)](https://github.com/tinacms/tinacms/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/tinacms.svg?style=flat)](https://www.npmjs.com/package/tinacms) [![Bui

12 lines (11 loc) 600 B
import * as React from 'react'; import { Branch, BranchSwitcherProps } from './types'; export declare function formatBranchName(str: string): string; export declare const BranchSwitcherLegacy: ({ listBranches, createBranch, chooseBranch, }: BranchSwitcherProps) => React.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; }>;