mirror of
https://github.com/koreanbots/core.git
synced 2025-12-16 06:20:24 +00:00
chore: text-left for Message component
This commit is contained in:
parent
60ddce77be
commit
b5cbc456df
@ -1,7 +1,7 @@
|
|||||||
import { MessageColor } from '@utils/Constants'
|
import { MessageColor } from '@utils/Constants'
|
||||||
|
|
||||||
const Message = ({ type, children }:MessageProps):JSX.Element => {
|
const Message = ({ type, children }:MessageProps):JSX.Element => {
|
||||||
return <div className={`${MessageColor[type]} px-6 py-4 rounded-md text-base mx-auto w-full`}>
|
return <div className={`${MessageColor[type]} px-6 py-4 rounded-md text-base mx-auto w-full text-left`}>
|
||||||
{children}
|
{children}
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user