Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Nora Krantz <[email protected]>
  • Loading branch information
krisantrobus and nkrantz authored Nov 20, 2024
1 parent dfceb27 commit 546b70a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ render(

export const tooltipExample = `<Stack orientation="horizontal" spacing="space60">
<Tooltip
actionHeader="Search shortcuts"
actionHeader="Search shortcut"
keyCombinationsActions={[
{ name: "Mac", eventKeyCombination: ["Command", "K"] },
{ name: "Windows", eventKeyCombination: ["Control", "K"] },
Expand All @@ -101,7 +101,7 @@ export const tooltipExample = `<Stack orientation="horizontal" spacing="space60"
</Button>
</Tooltip>
<Tooltip
actionHeader="Search shortcuts"
actionHeader="Search shortcut"
keyCombinationsActions={[
{ eventKeyCombination: ["Command", "K"] },
]}
Expand All @@ -124,7 +124,7 @@ export const useKeyCombinationExample = `const HookExample = () => {
return (
<>
<Paragraph>Press the <KeyboardKeyGroup><KeyboardKey>Shift</KeyboardKey><KeyboardKey>Q</KeyboardKey></KeyboardKeyGroup> key to reveal the pressed states below:</Paragraph>
<Paragraph>Combination triggered: {combinationTriggeredText}</aragraph>
<Paragraph>Combination triggered: {combinationTriggeredText}</Paragraph>
</>
)
}
Expand Down

0 comments on commit 546b70a

Please sign in to comment.