use-tweaks icon indicating copy to clipboard operation
use-tweaks copied to clipboard

🎛️ Tweak React components with Tweakpane

Results 9 use-tweaks issues
Sort by recently updated
recently updated
newest added

Hi there, Is there any way to use the `container` option like in the standard `tweakpane` package?

When SSR, `useLayoutEffect` prints a warning. This PR fixes this by swapping the hook with a `useEffect` if we are on the server. This is a common way to solve...

Hi, I'm trying to add multiple tweak panes on a page, independent of each other, just separate demos stacked. I figured I can pass a container via settings and this...

By unmounting a component that does contain all useTweaks properties the properties inside the TweaksPanel disappear as intended but the Tweaks Panel remains as a small stripe on the top....

Hey! Love the library :) I have multiple instances of a component with a `useTweaks` call, say: ```ts const Button = ({ text }: { text: string }) => {...

enhancement

I added a couple of methods in utils.ts to set and get the initial schema values, based on the url hash How to use it ``` const { speed, factor...

This library throws an uncaught exception as in the title. The symbol `Tweakpane` is undefined when attempting to call this constructor. I looked a tweakpane module and it doesn't seem...

Using typescript `4.4.2`, use-tweaks `0.3.1`, and tweakpane `3.1.0`: ![image](https://user-images.githubusercontent.com/1386477/203460722-a45528dd-fa62-423a-8aa0-f12c97729105.png) ![image](https://user-images.githubusercontent.com/1386477/203460839-e11577e0-ffe2-4fbc-a3c7-78613ecbd77c.png) ![image](https://user-images.githubusercontent.com/1386477/203460916-2f5e1cd7-f252-4cdd-aa11-23fd0c0bda45.png) Return type for `useTweaks` is `{}`, regardless of whether I pass in a type for the `Schema` generic or...