first iteration for message bubble layout
This commit is contained in:
parent
ae5cd9d7ac
commit
6271c5c3d8
8 changed files with 559 additions and 390 deletions
|
@ -17,11 +17,12 @@ limitations under the License.
|
|||
|
||||
import React, {forwardRef} from "react";
|
||||
|
||||
export default forwardRef(({mxEvent}, ref) => {
|
||||
export default forwardRef(({mxEvent, children}, ref) => {
|
||||
const text = mxEvent.getContent().body;
|
||||
return (
|
||||
<span className="mx_UnknownBody" ref={ref}>
|
||||
{ text }
|
||||
{ children }
|
||||
</span>
|
||||
);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue