mirror of
https://github.com/Steffo99/festa.git
synced 2024-12-23 07:04:22 +00:00
9 lines
336 B
TypeScript
9 lines
336 B
TypeScript
import { createStateContext } from "../../utils/stateContext";
|
|
|
|
|
|
/**
|
|
* {@link createStateContext State context} representing the editing state of a form.
|
|
*
|
|
* If `true`, the components should be editable, while if `false`, the components should preview their contents.
|
|
*/
|
|
export const EditingContext = createStateContext<boolean>()
|