--- order: 6 title: zh-CN: 相册模式 en-US: Preview from one image --- ## zh-CN 从一张图片点开相册。 ## en-US Preview a collection from one image. ```tsx import { Image } from 'antd'; import React, { useState } from 'react'; const App: React.FC = () => { const [visible, setVisible] = useState(false); return ( <> setVisible(true)} />
setVisible(vis) }}>
); }; export default App; ```