10 lines
184 B
TypeScript
10 lines
184 B
TypeScript
import React from 'react';
|
|
|
|
interface FormItemContextValue {
|
|
id: string;
|
|
}
|
|
|
|
export const FormItemContext = React.createContext<FormItemContextValue>(
|
|
{} as FormItemContextValue
|
|
);
|