@arif-un/react-mix-tag-input
Version:
A simple react component for inputting tags with a mix of text
16 lines (14 loc) • 451 B
text/typescript
import MixInput from './MixInput'
import { editorValueToMixInputValue, mixInputValueToEditorValue } from './utils'
import type { MixInputProps, MixInputRef, MixInputValue, MixInputValues, Tag } from './MixInputType.d'
import { type Editor } from '@tiptap/core'
export default MixInput
export { editorValueToMixInputValue, mixInputValueToEditorValue }
export type {
MixInputProps,
MixInputRef,
MixInputValue,
MixInputValues,
Tag,
Editor
}