* Proof of concept ComponentState * Migrate to createState and createFamilyState * Refactor * Fix * Fix tests * Fix lint * Fix tests * Re-enable coverage
11 lines
358 B
TypeScript
11 lines
358 B
TypeScript
import { createComponentState } from '@/ui/utilities/state/component-state/utils/createComponentState';
|
|
|
|
import { ViewField } from '../types/ViewField';
|
|
|
|
export const onViewFieldsChangeScopedState = createComponentState<
|
|
((fields: ViewField[]) => void | Promise<void>) | undefined
|
|
>({
|
|
key: 'onViewFieldsChangeScopedState',
|
|
defaultValue: undefined,
|
|
});
|