test(e2e): fix display tooltip for Emoji
This commit is contained in:
parent
91a87199c4
commit
dee8cc2c41
@ -27,7 +27,7 @@ export const MessageText: React.FC<MessageContentProps> = (props) => {
|
|||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<p>
|
<p>
|
||||||
<Emoji value={message.value} size={40} />
|
<Emoji value={message.value} size={40} tooltip />
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
@ -50,7 +50,7 @@ export const MessageText: React.FC<MessageContentProps> = (props) => {
|
|||||||
)
|
)
|
||||||
},
|
},
|
||||||
emoji: (props) => {
|
emoji: (props) => {
|
||||||
return <Emoji value={props.value} size={20} />
|
return <Emoji value={props.value} size={20} tooltip />
|
||||||
},
|
},
|
||||||
code: (properties) => {
|
code: (properties) => {
|
||||||
const { inline, className, children, ...props } = properties
|
const { inline, className, children, ...props } = properties
|
||||||
|
Reference in New Issue
Block a user