Skip to content

Commit 32b3cce

Browse files
authored
Export asBaseComponent (#835)
1 parent db14657 commit 32b3cce

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

generatedTypes/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Please use this file for declaring all the exports, so they could be picked up by typescript's complier
55
*/
66
export * from './style';
7-
export {withScrollEnabler} from './commons/new';
7+
export {asBaseComponent, withScrollEnabler} from './commons/new';
88
export {default as Card, CardPropTypes, CardSectionProps} from './components/card';
99
export {default as View, ViewPropTypes} from './components/view';
1010
export {default as Text, TextPropTypes} from './components/text';

src/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,9 @@ export default {
190190
},
191191

192192
// Commons
193+
get asBaseComponent() {
194+
return require('./commons').asBaseComponent;
195+
},
193196
get BaseComponent() {
194197
return require('./commons').BaseComponent;
195198
},

0 commit comments

Comments
 (0)