mirror of
https://github.com/He4eT/elseifplayer.git
synced 2026-05-05 01:17:22 +00:00
Add emphasized message style
This commit is contained in:
parent
2ed3f9a3ad
commit
54aa02555a
1 changed files with 1 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ export default function ({ style, text }) {
|
||||||
return ({
|
return ({
|
||||||
input: (<span class='message input'>> {text}</span>),
|
input: (<span class='message input'>> {text}</span>),
|
||||||
subheader: (<strong>{text}</strong>),
|
subheader: (<strong>{text}</strong>),
|
||||||
|
emphasized: (<em>{text}</em>),
|
||||||
endOfLine: (<br />)
|
endOfLine: (<br />)
|
||||||
})[style] || defaultContent
|
})[style] || defaultContent
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue