【发布时间】:2021-07-04 14:58:21
【问题描述】:
我在 react 项目中嵌入了以下类型:
import { PopupButton } from '@typeform/embed-react'
const MyComponent = () => {
return (
<PopupButton id="<form-id>" style={{ fontSize: 20; fontFamily: "Helvetica" }} className="my-button">
click to open form in popup
</PopupButton>
)
}
但是,虽然字体更改对我的 div 有效,但它不适用于 PopupButton 组件。如何更改其中包含的“单击以在弹出窗口中打开表单”字体?
【问题讨论】: