Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
konstantinmuenster committed Apr 24, 2023
1 parent f854cec commit 8f8c7e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stories/components/FloatingMenu.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { $getSelection, $isRangeSelection, FORMAT_TEXT_COMMAND } from "lexical";
import { useEffect, useState } from "react";

import { FloatingMenuProps } from "../../src";
import { FloatingMenuComponentProps } from "../../src";

import { IconButton } from "./IconButton";

Expand All @@ -13,7 +13,7 @@ export type FloatingMenuState = {
isUnderline: boolean;
};

export function FloatingMenu({ editor }: FloatingMenuProps) {
export function FloatingMenu({ editor }: FloatingMenuComponentProps) {
const [state, setState] = useState<FloatingMenuState>({
isBold: false,
isCode: false,
Expand Down

0 comments on commit 8f8c7e9

Please sign in to comment.