Skip to content

Commit 565ec60

Browse files
ChupriartiAlexandr Chuprakov
andauthored
feat(react): add export for props interface (#4023)
Co-authored-by: Alexandr Chuprakov <alexandr.chuprakov@ics-it.ru>
1 parent 05e447a commit 565ec60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/build-react-typings.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function generateComponentTypings(componentName, fileContent) {
5151
import * as React from 'react';
5252
// IMPORTS
5353
54-
interface ${componentName}Props${propsExtends ? ` extends ${propsExtends.trim()}` : ''} {
54+
export interface ${componentName}Props${propsExtends ? ` extends ${propsExtends.trim()}` : ''} {
5555
slot?: string;
5656
// PROPS
5757
}

0 commit comments

Comments
 (0)