tsuquyomi
tsuquyomi copied to clipboard
cannot import default export
So i have a module Flex.tsx
const Flex = (props) => (<div>...</div>)
export default Flex
Now i want to auto-import it by calling :TsuImport
under cursor in other module, but nothing seems to happened after i run the command.
But when i use named export like this, the auto import works
export const Flex = (props) => (<div>...</div>)
Is this intentional, or is there any explanation for this?