prototypr-frontend icon indicating copy to clipboard operation
prototypr-frontend copied to clipboard

isSelecting give undefined

Open raihan-ramadhan opened this issue 1 year ago • 1 comments

Hey, i tried copy TextMenu.jsx code const MenuBar = ({ editor, isSelecting }) => {, my question is why there is isSelecting prop? you never give isSelecting prop when you call this TextMenu.jsx component, it's not built-in props like children right?

because mine always give undefined value

https://github.com/Prototypr/prototypr-frontend/blob/337f4b2b7efa8c3fc00e494f70387ee813ae2b1a/components/Editor/Menus/TextMenu.jsx#L45

raihan-ramadhan avatar Sep 27 '23 07:09 raihan-ramadhan