Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 482 Bytes

available-react-hooks.md

File metadata and controls

31 lines (22 loc) · 482 Bytes

Available React Hooks

Here is a list of the available React hooks that you can export from @quillforms/renderer-core package

useFormAnswers

Retrieves form answers

const formAnswers = useFormAnswers();

useFieldAnswer

Retrieves the field answer

const fieldAnswer = useFieldAnswer(fieldId);

useTheme

Retrieves the theme

const theme = useTheme();

useMessages

Retrieves form messages

const messages = useMessages();