Reactjs 如何向npm模块powerBi报表组件添加自定义样式
我正在react应用程序中使用npm模块powerbi报表组件。我需要更改报告中文本的背景色和颜色Reactjs 如何向npm模块powerBi报表组件添加自定义样式,reactjs,powerbi,Reactjs,Powerbi,我正在react应用程序中使用npm模块powerbi报表组件。我需要更改报告中文本的背景色和颜色 const reportStyle = { width: '350px', height: '660px', color: 'red !important', border: '0', padding: '0px', background: '#33444C', bgColor: '#33444C', }; 我将此reportStyles发送到报表模块..但它们不应用
const reportStyle = {
width: '350px',
height: '660px',
color: 'red !important',
border: '0',
padding: '0px',
background: '#33444C',
bgColor: '#33444C',
};
我将此reportStyles发送到报表模块..但它们不应用于组件。谁能帮我一下吗