Configuration options for the hook.
An object containing:
yaml - The current YAML string contenthandleYamlChange - Function to notify parent of YAML changesactiveLayoutIndex - The currently selected layout indexsetActiveLayoutIndex - Function to change the active layoutresume - The parsed Resume object (or null if parsing fails)
A React hook for managing resume state derived from YAML content.
This hook encapsulates the logic for:
Resumeobject with memoizationThe parent component is responsible for managing the YAML state. This hook simply derives state (parsed resume, layout index) from the provided YAML and exposes utilities for updates.