* Proof of concept ComponentState * Migrate to createState and createFamilyState * Refactor * Fix * Fix tests * Fix lint * Fix tests * Re-enable coverage
12 lines
337 B
TypeScript
12 lines
337 B
TypeScript
import { createComponentFamilyState } from '@/ui/utilities/state/component-state/utils/createComponentFamilyState';
|
|
|
|
import { ViewField } from '../types/ViewField';
|
|
|
|
export const savedViewFieldsScopedFamilyState = createComponentFamilyState<
|
|
ViewField[],
|
|
string
|
|
>({
|
|
key: 'savedViewFieldsScopedFamilyState',
|
|
defaultValue: [],
|
|
});
|