@yamlresume/playground
    Preparing search index...

    Interface UseResumeStateProps

    Props for the useResumeState hook.

    interface UseResumeStateProps {
        onChange?: (value: string) => void;
        yaml?: string;
    }
    Index

    Properties

    Properties

    onChange?: (value: string) => void

    Callback invoked when the YAML content changes. The parent should update its state accordingly.

    yaml?: string

    The YAML content for the resume editor. Defaults to DEFAULT_YAML if not provided. Parent component should manage this state and update it via the onChange callback.