Open Meloyski opened 1 month ago
Hey @Meloyski, thanks for reporting this! There's currently no way to achieve this, just wanted to let you know that we're looking into it.
Just commenting to +1 wanting this feature. 😃
Not a deal breaker by any means, but would be nice if this displayed
like this
import {
Button,
ContainedList,
ContainedListItem,
Search,
} from '@carbon/react';
Whenever using a nested instance of another component, the example that is pushed out provides two import statements: one for the original component and one for when the nested instance is being used. Is there a way to combine these into the same import statement?
Icon Component
Button Component
Button Output in Figma
Is there a way that this can be combined into a single statement, dynamically?
Sorry, I couldn't find any information on it. Thanks! <3