Skip to content

Commit 6e0fc83

Browse files
authored
Fix typos in documentation and comments (#6199)
1 parent eadbfde commit 6e0fc83

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/react/src/TooltipV2/Tooltip.docs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"name": "type",
5252
"type": "'label' | 'description'",
5353
"defaultValue": "description",
54-
"description": "The type of tooltip. `label` is used for labelling the element that triggers tooltip. `description` is used for describing or adding a suplementary information to the element that triggers the tooltip."
54+
"description": "The type of tooltip. `label` is used for labelling the element that triggers tooltip. `description` is used for describing or adding a supplementary information to the element that triggers the tooltip."
5555
},
5656
{
5757
"name": "keybindingHint",

packages/react/src/utils/polymorphic.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ interface ForwardRefComponent<
4141
/**
4242
* When `as` prop is passed, use this overload.
4343
* Merges original own props (without DOM props) and the inferred props
44-
* from `as` element with the own props taking precendence.
44+
* from `as` element with the own props taking precedence.
4545
*
4646
* We explicitly avoid `React.ElementType` and manually narrow the prop types
4747
* so that events are typed when using JSX.IntrinsicElements.

0 commit comments

Comments
 (0)