diff --git a/packages/components/src/index.js b/packages/components/src/index.js index 7a62e76d3cc4e2..0f8485dc64b23b 100644 --- a/packages/components/src/index.js +++ b/packages/components/src/index.js @@ -135,6 +135,7 @@ export { Truncate as __experimentalTruncate } from './truncate'; export { default as __experimentalUnitControl, useCustomUnits as __experimentalUseCustomUnits, + ALL_CSS_UNITS, } from './unit-control'; export { default as VisuallyHidden } from './visually-hidden'; export { VStack as __experimentalVStack } from './v-stack'; diff --git a/packages/components/src/unit-control/index.js b/packages/components/src/unit-control/index.js index c3806baf2f75dc..e6ae014d42c336 100644 --- a/packages/components/src/unit-control/index.js +++ b/packages/components/src/unit-control/index.js @@ -200,5 +200,5 @@ function UnitControl( const ForwardedUnitControl = forwardRef( UnitControl ); -export { useCustomUnits } from './utils'; +export { ALL_CSS_UNITS, useCustomUnits } from './utils'; export default ForwardedUnitControl;