@ark-ui/vue
Version:
A collection of unstyled, accessible UI components for Vue, utilizing state machines for seamless interaction.
14 lines (9 loc) • 410 B
JavaScript
;
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const highlightWord = require('@zag-js/highlight-word');
const vue = require('vue');
const cleanProps = require('../../utils/clean-props.cjs');
const useHighlight = (props) => {
return vue.computed(() => highlightWord.highlightWord(cleanProps.cleanProps(vue.toValue(props))));
};
exports.useHighlight = useHighlight;