UNPKG

@dnb/eufemia

Version:

DNB Eufemia Design System UI Library

12 lines (11 loc) 349 B
import { ContextState } from '../../DataContext'; export type Props = { outerContext: ContextState; preventUncommittedChanges: boolean; error: Error; name?: string; }; export default function useHandleStatus({ outerContext, preventUncommittedChanges, error, name, }: Props): { hasContentChanged: boolean; showStatus: any; };