@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.
15 lines (14 loc) • 563 B
TypeScript
/// <reference types="react" />
import { ScreenPlugin } from '../../packages/react-screens';
import { BranchSwitcherProps } from './types';
export declare class BranchSwitcherPlugin implements ScreenPlugin {
__type: "screen";
Icon: import("react-icons/lib").IconType;
name: string;
layout: "popup";
listBranches: BranchSwitcherProps['listBranches'];
createBranch: BranchSwitcherProps['createBranch'];
chooseBranch: BranchSwitcherProps['chooseBranch'];
constructor(options: BranchSwitcherProps);
Component: () => JSX.Element;
}