UNPKG

@dnb/eufemia

Version:

DNB Eufemia Design System UI Library

12 lines (11 loc) 384 B
import { FieldProps, Path } from '../types'; export type Props<Value> = { path?: Path | undefined; itemPath?: Path; value?: Value; transformers?: React.MutableRefObject<{ fromExternal: FieldProps<Value>['fromExternal']; }>; emptyValue?: FieldProps<Value>['emptyValue']; }; export default function useExternalValue<Value>(props: Props<Value>): unknown;