Skip to content

Commit

Permalink
Merge pull request #302 from crunchybananas/fix-typo
Browse files Browse the repository at this point in the history
Fix typo in example code
  • Loading branch information
josemarluedke authored Aug 27, 2024
2 parents 0cdf62a + 1d485be commit 3f26a78
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion packages/collections/src/components/dropdown.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default class Example extends Component {
<d.Menu @onAction={{this.onAction}} @intent="primary" as |Item|>
<Item @key="profile" @description="View my profile">
My Provile
My Profile
</Item>
<Item @key="settings" @shortcut="⌘⇧S">Settings</Item>
<Item @key="notifications" @shortcut="⌘⇧N" @withDivider={{true}}>
Expand Down
2 changes: 1 addition & 1 deletion packages/collections/src/components/listbox.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export default class DemoComponent extends Component {
as |l|
>
<l.Item @key="profile" @description="View my profile">
My Provile
My Profile
</l.Item>
<l.Item @key="settings" @shortcut="⌘⇧S">Settings</l.Item>
<l.Item @key="notifications" @shortcut="⌘⇧N" @withDivider={{true}}>
Expand Down
2 changes: 1 addition & 1 deletion packages/forms/src/components/select.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export default class Example extends Component {
as |l|
>
<l.Item @key="profile" @description="View my profile">
My Provile
My Profile
</l.Item>
<l.Item @key="settings" @shortcut="⌘⇧S">Settings</l.Item>
<l.Item @key="notifications" @shortcut="⌘⇧N" @withDivider={{true}}>
Expand Down
2 changes: 1 addition & 1 deletion test-app/app/components/buttons/dropdown.gts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default class Example extends Component {

<d.Menu @onAction={{this.onAction}} @intent="primary" as |Item|>
<Item @key="profile" @description="View my profile">
My Provile
My Profile
</Item>
<Item @key="settings" @shortcut="⌘⇧S">Settings</Item>
<Item @key="notifications" @shortcut="⌘⇧N" @withDivider={{true}}>
Expand Down
2 changes: 1 addition & 1 deletion test-app/app/components/buttons/listbox.gts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export default class Example extends Component {
>
<:default as |l|>
<l.Item @key="profile" @description="View my profile">
My Provile
My Profile
</l.Item>
<l.Item @key="settings" @shortcut="⌘⇧S">Settings</l.Item>
<l.Item @key="notifications" @shortcut="⌘⇧N" @withDivider={{true}}>
Expand Down
2 changes: 1 addition & 1 deletion test-app/app/components/forms/select.gts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export default class Example extends Component {
as |l|
>
<l.Item @key="profile" @description="View my profile">
My Provile
My Profile
</l.Item>
<l.Item @key="settings" @shortcut="⌘⇧S">Settings</l.Item>
<l.Item @key="notifications" @shortcut="⌘⇧N" @withDivider={{true}}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ module(
@disableTransitions={{true}}
as |Item|
>
<Item @key="profile">My Provile</Item>
<Item @key="profile">My Profile</Item>
<Item @key="settings">Settings</Item>
</d.Menu>
</Dropdown>`
Expand Down Expand Up @@ -72,7 +72,7 @@ module(
@destinationElementId="my-destination"
as |Item|
>
<Item @key="profile">My Provile</Item>
<Item @key="profile">My Profile</Item>
<Item @key="settings">Settings</Item>
</d.Menu>
</Dropdown>`
Expand Down Expand Up @@ -110,7 +110,7 @@ module(
@destinationElementId="my-destination"
as |Item|
>
<Item @key="profile">My Provile</Item>
<Item @key="profile">My Profile</Item>
<Item @key="settings">Settings</Item>
</d.Menu>
</Dropdown>`
Expand Down Expand Up @@ -142,7 +142,7 @@ module(
@destinationElementId="my-destination"
as |Item|
>
<Item @key="profile">My Provile</Item>
<Item @key="profile">My Profile</Item>
<Item @key="settings">Settings</Item>
</d.Menu>
</Dropdown>`
Expand All @@ -169,7 +169,7 @@ module(
@destinationElementId="my-destination"
as |Item|
>
<Item @key="profile">My Provile</Item>
<Item @key="profile">My Profile</Item>
<Item @key="settings">Settings</Item>
</d.Menu>
</Dropdown>`
Expand Down Expand Up @@ -200,7 +200,7 @@ module(
@destinationElementId="my-destination"
as |Item|
>
<Item @key="profile">My Provile</Item>
<Item @key="profile">My Profile</Item>
<Item @key="settings">Settings</Item>
</d.Menu>
</Dropdown>`
Expand All @@ -227,7 +227,7 @@ module(
@destinationElementId="my-destination"
as |Item|
>
<Item @key="profile">My Provile</Item>
<Item @key="profile">My Profile</Item>
<Item @key="settings">Settings</Item>
</d.Menu>
</Dropdown>`
Expand Down

0 comments on commit 3f26a78

Please sign in to comment.