@-ui/grid
npm i @-ui/grid
的网格系统
Quick Start
-ui```typescript jsx
从“@-ui/styles”导入样式
导入 {grid, Grid4, Grid8, Grid12, Grid16, Grid20, Grid24}
从 '@-ui/grid' const myGrid = grid(styles, 12)
const 组件 = () =>
const otherStyles = 样式({
默认值:<代码>
${myGrid.css('1/12')};
高度:300px;
,
})
```
API
LICENSE
麻省理工学院
@-ui/grid
npm i @-ui/grid
A grid system for -ui
Quick Start
```typescript jsx
import styles from '@-ui/styles'
import {grid, Grid4, Grid8, Grid12, Grid16, Grid20, Grid24} from '@-ui/grid'
const myGrid = grid(styles, 12)
const Component = () =>
const otherStyles = styles({
default:
${myGrid.css('1/12')};
height: 300px;
,
})
```
API
LICENSE
MIT