Skip to content

Commit

Permalink
Add missing types for RichTextEditor
Browse files Browse the repository at this point in the history
  • Loading branch information
parkm committed Nov 22, 2024
1 parent 2aa0638 commit 494793d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bandicoot",
"version": "4.7.3",
"version": "4.7.4",
"description": "React rich text editor",
"main": "dist/bandicoot.umd.js",
"module": "dist/bandicoot.esm.js",
Expand Down
5 changes: 5 additions & 0 deletions typings/bandicoot.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ declare module "bandicoot" {
placeholder?: string;
placeholderStyle?: object;
ref?: React.RefObject<HTMLElement>;
disabled?: boolean;
onInput?: (evt: React.FormEvent<HTMLDivElement>) => void;
onKeyDown?: (evt: React.KeyboardEvent<HTMLDivElement>) => void;
tabIndex?: number;
autoFocus?: boolean;
}

type RichTextContextValue = {
Expand Down

0 comments on commit 494793d

Please sign in to comment.