-
Notifications
You must be signed in to change notification settings - Fork 0
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
MI 2305: Dialog component #32
Conversation
378f2fe
to
55088b5
Compare
96428a1
to
f8df6dc
Compare
0afee3f
to
dba7044
Compare
c7c773e
to
ccba56b
Compare
src/components/Dialog/Dialog.d.ts
Outdated
show?: boolean; | ||
|
||
/** | ||
* Callback function which is to be triggered onHide scenarios |
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.
* Callback function which is to be triggered onHide scenarios | |
* Callback function which is to be triggered for "onHide" scenarios |
src/components/Dialog/Dialog.d.ts
Outdated
onSubmitHandler?: () => void; | ||
|
||
/** | ||
* 'true' for a backdrop that triggers an "onHide" when clicked. |
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.
* 'true' for a backdrop that triggers an "onHide" when clicked. | |
* 'true' for a backdrop that triggers the "onHide" when clicked. |
title: undefined, | ||
children: <div> | ||
<h1>{'Custom Jsx'}</h1> | ||
<hr/> |
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.
prevent using <hr/>, BR
it's deprecated now
Ticket Link
MI-2305
Description
Created Dialog Component
Screenshots
Dialog with just title
Dialog with title, description and primary action
Dialog with destructive primary action
Dialog with title and custom JSX as content
Dialog with just custom JSX as content