【发布时间】:2020-03-16 09:36:26
【问题描述】:
我想将样式应用于 Formik 的标签以进行反应。我该怎么办?
<ErrorMessage name="email"></ErrorMessage>
我尝试使用 component={Custom} 但不起作用。
我使用 Tailwindcss。
如果你想帮助我,谢谢。
【问题讨论】:
-
你试过只使用
style道具吗? -
不...我尝试使用样式道具。谢谢