Comparing version 2.0.0-alpha.1 to 2.0.0-alpha.2
@@ -136,2 +136,6 @@ import React$1, { CSSProperties, Component, PureComponent } from 'react'; | ||
category?: string; | ||
render?: (props: { | ||
option: CommandControl; | ||
getEditorState: () => EditorState; | ||
}) => JSX.Element; | ||
} | ||
@@ -175,2 +179,4 @@ interface CommandCategory { | ||
declare type TooltipPlacement = TippyProps["placement"]; | ||
declare type PopperInstance = Parameters<NonNullable<TippyProps["onMount"]>>[0]; | ||
interface TooltipPosition { | ||
@@ -180,4 +186,2 @@ top: number; | ||
} | ||
declare type TooltipPlacement = TippyProps["placement"]; | ||
declare type PopperInstance = Parameters<NonNullable<TippyProps["onMount"]>>[0]; | ||
interface TooltipProps { | ||
@@ -184,0 +188,0 @@ shouldOpen: boolean; |
{ | ||
"name": "draftail", | ||
"version": "2.0.0-alpha.1", | ||
"version": "2.0.0-alpha.2", | ||
"description": "📝🍸 A configurable rich text editor built with Draft.js", | ||
@@ -5,0 +5,0 @@ "author": "Springload", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
254298
5335