tweak-tools
Version:
Tweak your React projects until awesomeness
15 lines (14 loc) • 561 B
TypeScript
import React from 'react';
import { TweakRootProps } from './TweakRoot';
declare type TweakProps = Omit<Partial<TweakRootProps>, 'store'> & {
isRoot?: boolean;
};
export declare function Tweak({ isRoot, ...props }: TweakProps): React.JSX.Element;
/**
* This hook is used by Tweak useTweaks, and ensures that we spawn a Tweak Panel
* without the user having to put it into the component tree. This should only
* happen when using the global store
* @param isGlobalPanel
*/
export declare function useRenderRoot(isGlobalPanel: boolean): void;
export {};