Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move content icon logic from Hub app #659

Open
tomwayson opened this issue Oct 6, 2021 · 0 comments
Open

move content icon logic from Hub app #659

tomwayson opened this issue Oct 6, 2021 · 0 comments

Comments

@tomwayson
Copy link
Member

Move the logic from the Hub app that determines the icon to use for a given content, but have it return the name of a calcite icon instead. We can then use that icon name directly in hub-components. In the Hub app, we would have to add a function to map from the calcite icon name to a hub icon name.

I propose we store this as content.iconName.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant