4eb4d1488c
* Use FieldDefinition for company show page * removing console.log * fix conflicts * fix address placeholder + company show page field definition ordering * fix story * add replacePlaceholder * use AppPath enum in stories * add routeParams * fix people input story
9 lines
292 B
TypeScript
9 lines
292 B
TypeScript
import { createContext } from 'react';
|
|
|
|
import { FieldDefinition } from '../types/FieldDefinition';
|
|
import { FieldMetadata } from '../types/FieldMetadata';
|
|
|
|
export const EditableFieldDefinitionContext = createContext<
|
|
FieldDefinition<FieldMetadata>
|
|
>({} as FieldDefinition<FieldMetadata>);
|