Skip to content

Commit 96f6ede

Browse files
committed
build: updated dist
1 parent c4567c4 commit 96f6ede

File tree

7 files changed

+13
-11
lines changed

7 files changed

+13
-11
lines changed

dist/index.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.d.mts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,17 @@ type MixInputValue = Tag | string
1919
type MixInputValues = MixInputValue[][]
2020

2121
interface MixInputProps extends HTMLAttributes<HTMLDivElement>, Omit<EditorContentProps, 'editor'> {
22-
value: MixInputValues
22+
value?: MixInputValues
2323
placeholder?: string
24-
onChange: (value: MixInputValues) => void
24+
onChange?: (value: MixInputValues) => void
2525
readonly?: boolean
2626
tagClassName?: string
2727
editorOptions?: UseEditorOptions
2828
tagAttrs?: Record<string, string | undefined>
2929
tagView?: (props: NodeViewProps) => React.ReactNode
30+
immediatelyRender?: boolean
31+
ref?: React.Ref<MixInputRef>
3032
// multiline?: boolean
31-
// showTagDeleteBtn?: boolean
3233
}
3334

3435
interface MixInputRef {

dist/index.d.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,17 @@ type MixInputValue = Tag | string
1919
type MixInputValues = MixInputValue[][]
2020

2121
interface MixInputProps extends HTMLAttributes<HTMLDivElement>, Omit<EditorContentProps, 'editor'> {
22-
value: MixInputValues
22+
value?: MixInputValues
2323
placeholder?: string
24-
onChange: (value: MixInputValues) => void
24+
onChange?: (value: MixInputValues) => void
2525
readonly?: boolean
2626
tagClassName?: string
2727
editorOptions?: UseEditorOptions
2828
tagAttrs?: Record<string, string | undefined>
2929
tagView?: (props: NodeViewProps) => React.ReactNode
30+
immediatelyRender?: boolean
31+
ref?: React.Ref<MixInputRef>
3032
// multiline?: boolean
31-
// showTagDeleteBtn?: boolean
3233
}
3334

3435
interface MixInputRef {

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)