API Reference > ui-core > Dialog > MessageBox > constructor constructor Method Overloads constructorMessageBox(props) constructorMessageBox(props, context?) Deprecated MessageBox(props) MessageBox(props: Readonly<MessageBoxProps>): MessageBox Parameter Type Description props Readonly<MessageBoxProps> Returns - MessageBox MessageBox(props, context?) Deprecated MessageBox(props: MessageBoxProps, context?: any): MessageBox see https://reactjs.org/docs/legacy-context.html Parameter Type Description props MessageBoxProps context any Returns - MessageBox Last Updated: 12 June, 2024