UNPKG

@ark-ui/react

Version:

A collection of unstyled, accessible UI components for React, utilizing state machines for seamless interaction.

14 lines (9 loc) 343 B
'use client'; 'use strict'; Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); const highlightWord = require('@zag-js/highlight-word'); const react = require('react'); const useHighlight = (props) => { return react.useMemo(() => highlightWord.highlightWord(props), [props]); }; exports.useHighlight = useHighlight;