Skip to content

Commit

Permalink
expose ALL_CSS_UNITS
Browse files Browse the repository at this point in the history
  • Loading branch information
aristath committed Jun 10, 2021
1 parent 0f770aa commit 8eafae5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/components/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,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';
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/unit-control/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,5 +200,5 @@ function UnitControl(

const ForwardedUnitControl = forwardRef( UnitControl );

export { useCustomUnits } from './utils';
export { ALL_CSS_UNITS, useCustomUnits } from './utils';
export default ForwardedUnitControl;

0 comments on commit 8eafae5

Please sign in to comment.