UNPKG

@dnb/eufemia

Version:

DNB Eufemia Design System UI Library

13 lines (12 loc) 382 B
/** * Handle internal value state * * It handles both the value state given as a prop form outside, * along with the current written and internal value. * * @returns object with internal value state and state setter */ export declare const useLocalValue: () => { localValue: string; setLocalValue: import("react").Dispatch<import("react").SetStateAction<string>>; };