有一个属性'styles'需要一个
"IStyleFunctionOrObject<IProgressIndicatorStyleProps, IProgressIndicatorStyles>"
但我不知道如何设置它。任何人?
有一个属性'styles'需要一个
"IStyleFunctionOrObject<IProgressIndicatorStyleProps, IProgressIndicatorStyles>"
但我不知道如何设置它。任何人?
styles
道具可以是function
或object
您可以自定义的内容:
root: IStyle;
itemName: IStyle;
itemDescription: IStyle;
itemProgress: IStyle;
progressTrack: IStyle;
progressBar: IStyle;
background-color
进度条修改:
<ProgressIndicator
...
styles={{
progressBar: {
backgroundColor: '#f00',
}
}}
/>