--- order: 1 title: zh-CN: 固定状态改变的回调 en-US: Callback --- ## zh-CN 可以获得是否固定的状态。 ## en-US Callback with affixed state. ```tsx import React from 'react'; import { Affix, Button } from 'antd'; const App: React.FC = () => ( console.log(affixed)}> ); export default App; ```