Here is a list of the available React hooks that you can export from @quillforms/renderer-core package
For full documentation of this hook click here
Gets the current block
import { useCurrentBlock } from "@quillforms/renderer-core";
const currentBlock = useCurrentBlock();Retrieves form answers
import { useFormAnswers } from "@quillforms/renderer-core";
const formAnswers = useFormAnswers();Retrieves the field answer
import { useFieldAnswer } from "@quillforms/renderer-core";
const fieldAnswer = useFieldAnswer(fieldId);Retrieves the theme
import { useTheme } from "@quillforms/renderer-core";
const theme = useTheme();Retrieves form messages
import { useMessages } from "@quillforms/renderer-core";
const messages = useMessages();