From 4d703011a8328718d275405117ace1ddd934432f Mon Sep 17 00:00:00 2001 From: pn21080319 Date: Thu, 26 Aug 2021 10:37:45 +0800 Subject: [PATCH] =?UTF-8?q?feat=20=E6=B7=BB=E5=8A=A0=E5=85=B3=E4=BA=8Ebraf?= =?UTF-8?q?t-extensions/dist/max-length=E6=8F=92=E4=BB=B6=E7=9A=84?= =?UTF-8?q?=E8=87=AA=E5=AE=9A=E4=B9=89=E5=B1=9E=E6=80=A7=E5=A3=B0=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.d.ts b/index.d.ts index e864a1c..e095ced 100644 --- a/index.d.ts +++ b/index.d.ts @@ -58,6 +58,7 @@ export interface BraftEditorProps { blockRendererFn?: Function; converts?: object; hooks?: HooksType; + maxLength?: number; textBackgroundColor?: boolean; allowInsertLinkText?: boolean; defaultLinkTarget?: string; @@ -82,6 +83,7 @@ export interface BraftEditorProps { handleBeforeInput?: Function; handleReturn?: Function; handleKeyCommand?: Function; + onReachMaxLength?: Function; } export default class BraftEditor extends React.Component {