---
order: 8
title:
zh-CN: 反向
en-US: Reverse
---
## zh-CN
设置 `reverse` 可以将滑动条置反。
## en-US
Using `reverse` to render slider reversely.
```tsx
import { Slider, Switch } from 'antd';
import React, { useState } from 'react';
const App: React.FC = () => {
const [reverse, setReverse] = useState(true);
return (
<>
Reversed:
>
);
};
export default App;
```