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 7, 2021
1 parent 3d7a257 commit 7cedf43
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 @@ -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';
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 7cedf43

Please sign in to comment.