Skip to content

Commit 1e7e794

Browse files
committed
fix: exporting buttonreftype
1 parent ae1fef6 commit 1e7e794

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
import type { IconButtonSize } from '@momentum-design/components';
1+
import type { IconButtonSize, Button } from '@momentum-design/components';
22
import { default as ButtonCircle } from './ButtonCircle';
33
import type { Props } from './ButtonCircle.types';
44

55
export type ButtonCircleProps = Props;
66
export type ButtonCircleSize = IconButtonSize;
7+
export type ButtonRefType = Button;
78

89
export default ButtonCircle;

src/components/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,3 +86,4 @@ export { default as TabList } from './TabList';
8686
export { default as TabPanel } from './TabPanel';
8787
export { default as VirtualizedList } from './VirtualizedList';
8888
export { default as SpatialNavigationProvider } from './SpatialNavigationProvider';
89+
export type { ButtonRefType } from './ButtonCircle';

src/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ export {
142142
TabPanel as TabPanelNext,
143143
VirtualizedList,
144144
SpatialNavigationProvider,
145+
ButtonRefType,
145146
} from './components';
146147

147148
export { PRESERVE_TABINDEX_CLASSNAME } from './utils/navigation';

0 commit comments

Comments
 (0)