Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/powerbi/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Reactjs 如何向npm模块powerBi报表组件添加自定义样式_Reactjs_Powerbi - Fatal编程技术网

Reactjs 如何向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发送到报表模块..但它们不应用

我正在react应用程序中使用npm模块powerbi报表组件。我需要更改报告中文本的背景色和颜色

const reportStyle = {
  width: '350px',
  height: '660px',
  color: 'red !important',
  border: '0',
  padding: '0px',
  background: '#33444C',
  bgColor: '#33444C',
};
我将此reportStyles发送到报表模块..但它们不应用于组件。谁能帮我一下吗