-
Couldn't load subscription status.
- Fork 42
Change InsideModal according to recently modification on Modal #992
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change InsideModal according to recently modification on Modal #992
Conversation
…s-widgets into feature/user-permission
…s-widgets into feature/user-permission
…allenger/ringcentral-js-widgets into feature/user-permission
…allenger/ringcentral-js-widgets into feature/user-permission
…allenger/ringcentral-js-widgets into feature/user-permission
…s-widgets into feature/user-permission
| import classnames from 'classnames'; | ||
| import Modal from '../Modal'; | ||
| import styles from './styles.scss'; | ||
| import InsideModalClose from '../../assets/images/InsideModalClose.svg'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like can remove this line at the same time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
| show={show} | ||
| showCloseBtn={showCloseBtn} | ||
| onCancel={onClose} | ||
| > |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how about add aclickOutToClose props?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's cool! Done!
CloseButtoninInsideModal, as it's not needed inModal.showCloseBtnandonCancelprops according toModalprop types.showCloseBtnprop inInsideModal, it's default value is true.So the modal can be closed.