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

Accordian web component to take accordian-header as a slot item like accordian-panel #877

Open
parsoman opened this issue May 4, 2021 · 0 comments
Labels
enhancement Enhancement to an existing feature or component web component @momentum-ui/web-components

Comments

@parsoman
Copy link
Collaborator

parsoman commented May 4, 2021

We have a requirement from IMI Email integration UX where we need to pass the slot content in the accordian header as it contains some formatted text with some span element.

Issue Type

Feature Request

Component or Pattern Affected

Accordian

Expected Behavior

https://www.figma.com/file/hXszABjF0kGCwh2cjjDcxQ/IMI-Integration-for-Digital-Channels---May-2021?node-id=4%3A8129
Accordian header should take html/slot content as input property.

Current Behavior

Accordian header takes now label as input property which is only string.

Possible Solution

Steps to Reproduce (for bugs)

Context

Here is the UX provided to us for your better understanding-
https://www.figma.com/file/hXszABjF0kGCwh2cjjDcxQ/IMI-Integration-for-Digital-Channels---May-2021?node-id=4%3A8129

Your Environment

  • Library:
  • Version used:
  • Browser Name and version:
  • Operating System and version:
  • Link to your project:
@parsoman parsoman changed the title Accordian component to take accordian-header as a slot item like accordian-panel Accordian web component to take accordian-header as a slot item like accordian-panel May 4, 2021
@futurethang futurethang added enhancement Enhancement to an existing feature or component web component @momentum-ui/web-components labels May 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement to an existing feature or component web component @momentum-ui/web-components
Projects
None yet
Development

No branches or pull requests

2 participants