/** * title: 左右偏移 * desc: 通过 Col 的 offset 属性设置列的偏移距离 */ import React from 'react'; import { Text } from 'react-native'; import { Row, Col, Space } from '@xrnjs/ui'; import Card from '_global/Card'; import { gridStyles } from './style'; const OffsetUsage: React.FC = () => { return ( 基础偏移 span=8 offset=8 span=6 offset=6 span=6 offset=6 span=12 offset=6 复杂偏移布局 span=18 offset=2 span=4 span=4 span=10 offset=4 span=6 span=6 offset=3 span=6 offset=3 span=6 ); }; export default OffsetUsage;