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

Bugfix: Footer Monocle (linkGroups) #570

Open
wants to merge 2 commits into
base: rebrand
Choose a base branch
from

Conversation

dmitrijkiltau
Copy link
Collaborator

  • Feature: Allow attributes as parameter in Icon component
  • Bugfix: Footer Monocle (linkGroups)
  • Misc: formatted code


renderer = Neos.Fusion:Augmenter {
data-icon-name = ${props.name}
data-icon-name.@if.hasName = ${props.name}

class = ${props.class}
attributes = ${props.attributes}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this don't work, as it is not a Neos.Fusion:Tag. Shouldn't we use @apply here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I used it here and it's working: https://github.com/neos/Neos.NeosIo/pull/570/files#diff-848690a40a1ace0905c7261f04fa62147836e1377c165d75523a454d4322808fR131

I like to add attributes to components, as it get's rid of Neos.Fusion:Augmenter is many cases.

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

Successfully merging this pull request may close these issues.

None yet

2 participants