
package.dist.utils.use-controllable-state.d.cts Maven / Gradle / Ivy
export interface UseControllableStateProps {
value?: T;
defaultValue?: T;
onChange?: (value: T) => void;
}
export declare function useControllableState(props: UseControllableStateProps): readonly [T, (value: T) => void | undefined];
© 2015 - 2025 Weber Informatics LLC | Privacy Policy