tinacms
Version:
[](https://github.com/tinacms/tinacms/blob/main/LICENSE) [](https://www.npmjs.com/package/tinacms) [![Bui
7 lines (6 loc) • 540 B
TypeScript
import * as React from 'react';
import { Branch, BranchSwitcherProps } from './types';
export declare function formatBranchName(str: string): string;
export declare const BranchSwitcher: (props: BranchSwitcherProps) => React.JSX.Element;
export declare const EditoralBranchSwitcher: ({ listBranches, createBranch, chooseBranch, setModalTitle, }: BranchSwitcherProps) => React.JSX.Element;
export declare const getFilteredBranchList: (branchList: Branch[], search: string, currentBranchName: string, filter?: "content" | "all") => Branch[];