有一个“style”属性,它接受
"IStyleFunctionOrObject<IProgressIndicatorStyleProps, IProgressIndicatorStyles>"但我不知道如何设置它。有没有人?
发布于 2021-05-12 22:17:16
styles属性可以是function或object
您可以自定义的内容:
root: IStyle;
itemName: IStyle;
itemDescription: IStyle;
itemProgress: IStyle;
progressTrack: IStyle;
progressBar: IStyle;修改进度条的background-color:
<ProgressIndicator
...
styles={{
progressBar: {
backgroundColor: '#f00',
}
}}
/> https://stackoverflow.com/questions/67388670
复制相似问题