7 lines
183 B
TypeScript
7 lines
183 B
TypeScript
import { useContext } from 'react';
|
|
import { SchemaComponentContext } from '../context';
|
|
|
|
export function useSchemaComponentContext() {
|
|
return useContext(SchemaComponentContext);
|
|
}
|