Skip to content

Commit 6578c78

Browse files
committed
Layout: Use type-only export to export ResponsiveSpacing.
ResponsiveSpacing is only a type, so exporting it in a JavaScript context causes an import error when attempting to import glints-aries. By using type-only exports, this line will be removed when transpiling to JavaScript.
1 parent cb7bf68 commit 6578c78

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export { default as Drawer } from './Navigation/Drawer';
1515
export { default as Dropdown } from './Navigation/Dropdown';
1616
export { default as Gallery } from './Display/Gallery';
1717
export { Box } from './Layout/Box';
18-
export { ResponsiveSpacing } from './Layout/Box/types';
18+
export type { ResponsiveSpacing } from './Layout/Box/types';
1919
export { Flex } from './Layout/Flex';
2020
export { default as Grid } from './Layout/Grid';
2121
export { default as Heading } from './General/Heading';

0 commit comments

Comments
 (0)