diff --git a/.changeset/beige-rings-relate.md b/.changeset/beige-rings-relate.md new file mode 100644 index 00000000000..e9e3760535b --- /dev/null +++ b/.changeset/beige-rings-relate.md @@ -0,0 +1,5 @@ +--- +"@primer/react": patch +--- + +docs: Fix Typos in comments diff --git a/packages/react/src/KeybindingHint/key-names.ts b/packages/react/src/KeybindingHint/key-names.ts index de5eb5e95bb..6d0543656b4 100644 --- a/packages/react/src/KeybindingHint/key-names.ts +++ b/packages/react/src/KeybindingHint/key-names.ts @@ -75,7 +75,7 @@ export const accessibleKeyName = (key: string, isMacOS: boolean) => printscreen: 'print screen', // We don't need to represent _every_ symbol - only those found on standard keyboards. // Other symbols should be avoided as keyboard shortcuts anyway. - // These should match the colloqiual names of the keys, not the names of the symbols. Ie, + // These should match the colloquial names of the keys, not the names of the symbols. Ie, // "Equals" not "Equal Sign", "Dash" not "Minus", "Period" not "Dot", etc. '`': 'backtick', '~': 'tilde', diff --git a/packages/react/src/NavList/NavList.figma.tsx b/packages/react/src/NavList/NavList.figma.tsx index bf04ff1446f..1ac2fddde9b 100644 --- a/packages/react/src/NavList/NavList.figma.tsx +++ b/packages/react/src/NavList/NavList.figma.tsx @@ -37,7 +37,7 @@ figma.connect( example: ({actionList}) => {actionList.text}, }, ) -/** Collapsable item **/ +/** Collapsible item **/ figma.connect( NavList.Item, 'https://www.figma.com/design/GCvY3Qv8czRgZgvl1dG6lp/Primer-Web?node-id=16716-62586&m=dev', diff --git a/packages/react/src/index.ts b/packages/react/src/index.ts index b5028b8e510..980975f9a74 100644 --- a/packages/react/src/index.ts +++ b/packages/react/src/index.ts @@ -149,7 +149,7 @@ export type { SegmentedControlButtonProps, SegmentedControlIconButtonProps, } from './SegmentedControl' -// Curently there is a duplicate Select component at the root of the dir, so need to be explicit about exporting from the src/Select dir +// Currently there is a duplicate Select component at the root of the dir, so need to be explicit about exporting from the src/Select dir export {default as Select} from './Select' export type {SelectProps} from './Select' export {SelectPanel} from './SelectPanel'