vue-json-search
Version:
Headless Vue (3.x) search component based on [Fuse.js](https://github.com/krisk/Fuse). Designed for static generators like [Hugo](https://github.com/gohugoio/hugo) but works with any site that's cabable of producing a JSON corpus.
20 lines (19 loc) • 685 B
TypeScript
import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, Ref } from 'vue';
declare const _sfc_main: DefineComponent<{
label: {
type: StringConstructor;
required: false;
};
}, {
props: {
label?: string | undefined;
};
label: string;
searchTerm: Ref<string> | undefined;
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
label: {
type: StringConstructor;
required: false;
};
}>>, {}>;
export default _sfc_main;