code-connect icon indicating copy to clipboard operation
code-connect copied to clipboard

Ignoring component name in import when using an alias

Open alisonjoseph opened this issue 1 year ago • 1 comments

I have the following import in my *.figma.tsx file

import {
  unstable__FluidSelect as FluidSelect,
  SelectItem,
} from '@carbon/react';

Code connect is only rendering the alias and not the actual component import name

Screenshot 2024-06-13 at 12 52 21 PM

alisonjoseph avatar Jun 13 '24 17:06 alisonjoseph

Hi Alison. We currently don't support imports with alias but we have it in our backlog to discuss.

ptomas-figma avatar Jun 19 '24 10:06 ptomas-figma