chore: text-left for Message component

This commit is contained in:
Junseo Park 2021-02-23 09:56:29 +09:00
parent 60ddce77be
commit b5cbc456df

View File

@ -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>
} }