Skip to content

Expose constants (types & enums) #14

@SanderVanHullebusch

Description

@SanderVanHullebusch

There are lots of enums and constants that will be very helpfull to be used in our projects where @a-ui is being used.

I tried to import enums/constants/.. from the following folder but this isn't found since it isn't exposed.
https://github.com/a-ui/core_components_react/blob/development/packages/antwerp-ui/react-components/src/constants/layout.settings.ts

Is it possible to expose these so that we can use them? Currently we have to create the same enums just to reference them the same way.

For example; Warning icons need to be name 'alert-triangle'. We can use THEME_ICON_MAP[Theme.DANGER], but since these aren't available we have to duplicate this in our own project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions