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

Add an Api type to Freestyle::Usage for when you expect a component as argument #963

Merged
merged 1 commit into from
Sep 28, 2023

Conversation

lukemelia
Copy link
Collaborator

@lukemelia lukemelia commented Sep 28, 2023

e.g.

    <:api as |Args|>
      <Args.Component
        @name='icon'
        @description='Icon component reference'
        @value={{this.icon}}
        @options={{array IconPlusCircle IconMinusCircle IconPencil}}
        @onInput={{fn (mut this.icon)}}
      />
      ...
    </:api>

@lukemelia lukemelia force-pushed the component-class-argument branch from d57aa44 to 7e3e554 Compare September 28, 2023 22:23
@lukemelia lukemelia merged commit 4a664a7 into master Sep 28, 2023
11 checks passed
@lukemelia lukemelia deleted the component-class-argument branch September 28, 2023 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant