How to use encapsulated components by calling methods, such as ant's Message.info (option)

how can encapsulated components be used by calling methods, such as ant"s Message.info (option)?

Nov.17,2021

something like this

// Message.jsx
class Message extend React.Component {}
export default options => ReactDOM.render(<Message {...options}/>, document.body)
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b428c1-41662.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b428c1-41662.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?