Skip to content

Commit

Permalink
fix(circleprogress): update demo (#2260)
Browse files Browse the repository at this point in the history
  • Loading branch information
eiinu authored May 17, 2024
1 parent d4c0049 commit 7b068dc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/packages/circleprogress/demos/h5/demo3.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const gradientColor = {
const Demo3 = () => {
return (
<>
<CircleProgress percent={50} color="var(--nutui-color-info)">
<CircleProgress percent={50} color="#1988fa">
50%
</CircleProgress>
<CircleProgress percent={100} color={gradientColor}>
Expand Down
6 changes: 3 additions & 3 deletions src/packages/circleprogress/demos/taro/demo3.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ import React from 'react'
import { CircleProgress } from '@nutui/nutui-react-taro'

const gradientColor = {
'0%': '#ff404f',
'100%': '#fa2c19',
'0%': '#FF5E5E',
'100%': '#FFA062',
}
const Demo3 = () => {
return (
<>
<CircleProgress percent={50} color="#fa2c19">
<CircleProgress percent={50} color="#1988fa">
50%
</CircleProgress>
<CircleProgress percent={100} color={gradientColor}>
Expand Down

0 comments on commit 7b068dc

Please sign in to comment.