Skip to content

Commit

Permalink
Update SelectControl JSDoc (#53379)
Browse files Browse the repository at this point in the history
  • Loading branch information
bangank36 authored Aug 10, 2023
1 parent 744c261 commit 72df33c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/components/src/select-control/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ function UnforwardedSelectControl(
* `SelectControl` allows users to select from a single or multiple option menu.
* It functions as a wrapper around the browser's native `<select>` element.
*
* @example
* ```jsx
* import { SelectControl } from '@wordpress/components';
* import { useState } from '@wordpress/element';
*
Expand All @@ -171,6 +171,7 @@ function UnforwardedSelectControl(
* />
* );
* };
* ```
*/
export const SelectControl = forwardRef( UnforwardedSelectControl );

Expand Down

0 comments on commit 72df33c

Please sign in to comment.