You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's an issue in the importing of subComponents types in the file src/components/Modal/Modal.d.ts. The imports work fine in the mm-ui-library but after building, when we use the component inside a plugin, the imports of ModalFooterProps and ModalHeaderProps are not resolving, due to which we are not able to use the props inside them like title, subtitle etc.
Version / Branch
The branch this is reproduced on is downgrade-bootstrap-epic.
Type '{ children: Element; show: boolean; onCloseHandler: () => void; onSubmitHandler: () => void; title: string; subtitle: string; className: string; primaryActionText: string; secondaryActionText: string; isPrimaryButtonDisabled: boolean; }' is not assignable to type 'IntrinsicAttributes & ModalProps'.
Property 'title' does not exist on type 'IntrinsicAttributes & ModalProps'.
The text was updated successfully, but these errors were encountered:
Summary
There's an issue in the importing of subComponents types in the file
src/components/Modal/Modal.d.ts
. The imports work fine in the mm-ui-library but after building, when we use the component inside a plugin, the imports ofModalFooterProps
andModalHeaderProps
are not resolving, due to which we are not able to use the props inside them liketitle
,subtitle
etc.Version / Branch
The branch this is reproduced on is
downgrade-bootstrap-epic
.Links
mm-ui-library/src/components/Modal/Modal.d.ts
Line 3 in 5dd6cde
Errors
The text was updated successfully, but these errors were encountered: