UNPKG

@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.

16 lines (12 loc) 322 B
/** */ interface Subscribable { subscribe(callback: any): () => void; } /** * * @param subscribable An object that can be subscribed to * @param cb (Optional) A callback to be executed when an event occurs. */ export declare function useSubscribable(subscribable: Subscribable, cb?: Function): void; export {};