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
For ModalHeader component, it would be good to have an option to place the contents within the <header> tag of the Modal, currently, it places contents below it which may not be ideal when it comes to space effeicency. For placing within header, apply justify-between to it so that the header text will be on left and close button on right hand side.
export interface ModalProps extends React.HTMLAttributes<HTMLDivElement> {
/**
* Function executed when the dropdown is closed
*/
onClose: () => void
/**
* Defines if the modal is open
*/
isOpen: boolean
/**
* Defines custom child contents to place into header tag of Modal
*/
header?: React.ReactChild
}
The text was updated successfully, but these errors were encountered:
Glidias
changed the title
ModalHeader should have option to position text in <header> tag
ModalHeader should have option to position contents in <header> tag
Mar 18, 2022
For ModalHeader component, it would be good to have an option to place the contents within the
<header>
tag of the Modal, currently, it places contents below it which may not be ideal when it comes to space effeicency. For placing within header, applyjustify-between
to it so that the header text will be on left and close button on right hand side.The text was updated successfully, but these errors were encountered: