@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) • 385 B
TypeScript
/// <reference types="react" />
export interface BranchContextData {
currentBranch: string;
setCurrentBranch: (string: any) => void;
}
export declare const BranchDataProvider: ({ currentBranch, setCurrentBranch, children, }: {
currentBranch: any;
setCurrentBranch: any;
children: any;
}) => JSX.Element;
export declare const useBranchData: () => BranchContextData;