【发布时间】:2021-12-25 10:04:26
【问题描述】:
当属性消息在不同组件的<p> 内呈现时,我应该怎么做才能换行?我无法理解这一点...我尝试使用<br> 或\n,但它一直呈现在一行中...
const modalOn = (date, clinic) => {
setError({
title: "Do you want to remove the following shift?",
message: "DATE: " + date + " CLINIC: " + clinic,
});
};
【问题讨论】: