@me1a/ui 2.6.6 → 2.6.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1713,9 +1713,17 @@ interface MarkdownEditorProps {
1713
1713
  * whether to immediately render the editor
1714
1714
  */
1715
1715
  immediatelyRender?: boolean;
1716
+ /**
1717
+ * callback when editor loses focus
1718
+ */
1719
+ onBlur?: (event: FocusEvent) => void;
1720
+ /**
1721
+ * callback when editor gains focus
1722
+ */
1723
+ onFocus?: (event: FocusEvent) => void;
1716
1724
  }
1717
1725
 
1718
- declare function MarkdownEditor({ value, onChange, className, placeholder, disabled, onKeyDown, autoFocus, immediatelyRender }: MarkdownEditorProps): react_jsx_runtime.JSX.Element | null;
1726
+ declare const MarkdownEditor: React$1.ForwardRefExoticComponent<MarkdownEditorProps & React$1.RefAttributes<HTMLDivElement>>;
1719
1727
 
1720
1728
  declare const Drawer: {
1721
1729
  ({ shouldScaleBackground, ...props }: React$1.ComponentProps<typeof Drawer$1.Root>): react_jsx_runtime.JSX.Element;