Skip to content

Commit 26d98ac

Browse files
committed
update docs
1 parent 6660bed commit 26d98ac

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

packages/components/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
- `TabPanel`: Add ability to set icon only tab buttons ([#45005](https://github.com/WordPress/gutenberg/pull/45005)).
1616
- `InputControl`, `NumberControl`, `UnitControl`: Add `help` prop for additional description ([#45931](https://github.com/WordPress/gutenberg/pull/45931)).
17+
- `CustomSelectControl`, `UnitControl`: Add `onFocus` and `onBlur` props ([#46096](https://github.com/WordPress/gutenberg/pull/46096)).
1718

1819
### Experimental
1920

packages/components/src/custom-select-control/README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,20 @@ A handler for onMouseOut events.
145145
- Type: `Function`
146146
- Required: No
147147

148+
#### onFocus
149+
150+
A handler for onFocus events.
151+
152+
- Type: `Function`
153+
- Required: No
154+
155+
#### onBlur
156+
157+
A handler for onBlur events.
158+
159+
- Type: `Function`
160+
- Required: No
161+
148162
## Related components
149163

150164
- Like this component, but implemented using a native `<select>` for when custom styling is not necessary, the `SelectControl` component.

0 commit comments

Comments
 (0)