--- order: 11 title: zh-CN: 自定义进度条渐变色 en-US: Custom line gradient --- ## zh-CN `linear-gradient` 的封装。推荐只传两种颜色。 ## en-US A package of `linear-gradient`. It is recommended to only pass two colors. ```tsx import { Progress } from 'antd'; import React from 'react'; const App: React.FC = () => ( <> ); export default App; ```