--- order: 99 title: zh-CN: Flex gap 样式 en-US: Flex gap style debug: true --- ## zh-CN Debug usage ## en-US Debug usage ```tsx import React, { useState } from 'react'; import { Space, Switch } from 'antd'; const style: React.CSSProperties = { width: 150, height: 100, background: 'red', }; const App: React.FC = () => { const [singleCol, setSingleCol] = useState(false); return ( <> { setSingleCol(!singleCol); }} />
); }; export default App; ```