"use client";
import { useMemo } from "react";
import { highlightWord } from "@zag-js/highlight-word";
//#region src/components/highlight/use-highlight.ts
var useHighlight = (props) => {
	return useMemo(() => highlightWord(props), [props]);
};
//#endregion
export { useHighlight };
