vitamin-compose icon indicating copy to clipboard operation
vitamin-compose copied to clipboard

Scope all preview functions as internal to avoid any access from the final artifact

Open GerardPaligot opened this issue 2 years ago • 0 comments

Describe the bug

When you import Vitamin Compose in an Android app, you have auto completion for previews inside Vitamin Compose. These components shouldn't be exposed.

To Reproduce

  1. Import any Vitamin artifact with Preview functions
  2. Try to access to the Preview function by its name

Expected behavior

Only show Vitamin<Component>s objects and their colors, sizes, etc.

GerardPaligot avatar Aug 09 '22 11:08 GerardPaligot