Skip to content

Commit

Permalink
Fix typo in Autocomplete component README.md (WordPress#63496)
Browse files Browse the repository at this point in the history
* Fix typo in Autocomplete component README.md

* Fix typo in Autocomplete component README.md

* Fix typo in Autocomplete component README.md

Co-authored-by: barryceelen <[email protected]>
Co-authored-by: shail-mehta <[email protected]>
Co-authored-by: t-hamano <[email protected]>
Co-authored-by: Mamaduka <[email protected]>
  • Loading branch information
5 people authored Jul 13, 2024
1 parent 48b8350 commit a48b1ff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions packages/components/src/autocomplete/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The following props are used to control the behavior of the component.

### record

The rich text value object the autocomleter is being applied to.
The rich text value object the autocompleter is being applied to.

- Required: Yes
- Type: `RichTextValue`
Expand Down Expand Up @@ -50,7 +50,7 @@ A function that returns nodes to be rendered within the Autocomplete.

### isSelected

Whether or not the Autocomplte componenet is selected, and if its `Popover` should be displayed.
Whether or not the Autocomplete component is selected, and if its `Popover` should be displayed.

- Required: Yes
- Type: `Boolean`
Expand Down
5 changes: 2 additions & 3 deletions packages/components/src/autocomplete/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,9 +200,8 @@ export type AutocompleteProps = UseAutocompleteProps & {
props: Omit< ReturnType< typeof useAutocomplete >, 'popover' >
) => React.ReactNode;
/**
* Whether or not the Autocomplte componenet is selected, and if its
* `Popover`
* should be displayed.
* Whether or not the Autocomplete component is selected, and if its
* `Popover` should be displayed.
*/
isSelected: boolean;
};

0 comments on commit a48b1ff

Please sign in to comment.