rn-components-kit
rn-components-kit copied to clipboard
[progress] Always use the green color for percent 100
<Progress
color={purple}
percent={100}
showInfo={false}
/>

@wallevy purple should be a string.
@SmallStoneSK I know, the `purple' is a variable name.
const purple = '#9025fc'
<Progress
color={purple}
percent={100}
showInfo={false}
/>
@wallevy Yeah, 100 means it has been completed and color green always represents success. So I always use green for percent 100.
@SmallStoneSK
Thank you, that's my misunderstanding, because I saw this success: task 100% completed (default green color) on the document. Sometimes maybe we need a different color for success.
@wallevy Yeah, welcome PR~