Skip to content

Commit

Permalink
Add __unstableInputWidth to UnitControl types (#38429)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronrobertshaw authored Feb 3, 2022
1 parent 387e467 commit 696f33c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/components/src/unit-control/types.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* External dependencies
*/
import type { SyntheticEvent } from 'react';
import type { CSSProperties, SyntheticEvent } from 'react';

/**
* Internal dependencies
Expand Down Expand Up @@ -79,6 +79,7 @@ export type UnitSelectControlProps = {

export type UnitControlProps = UnitSelectControlProps & {
__unstableStateReducer?: StateReducer;
__unstableInputWidth?: CSSProperties[ 'width' ];
/**
* If `true`, the unit `<select>` is hidden.
*
Expand Down

0 comments on commit 696f33c

Please sign in to comment.