-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[comp: grid] add grid component #133
Comments
@danranVm @hele10086 , 麻烦两位看下 API 是否合理 |
我没什么问题。 |
|
@danranVm, 我看到我们的断点服务里面的 key 为 |
xs 吧,这个太常用了,简写吧 |
好的, 现在是第二种实现, 会改成第一种 |
What problem does this feature solve?
grid
What does the proposed API look like?
ix-row
Props
align
string
top
gutter
{ xs: 8, sm: 16, md: 24}
。或者使用数组形式同时设置[水平间距, 垂直间距]
number/object/array
0
justify
start
end
center
space-around
space-between
string
start
wrap
boolean
ix-col
Props
flex
string/number
offset
number
0
order
number
0
pull
number
0
push
number
0
span
display: none
number
屏幕 < 600px
响应式栅格,可为栅格数或一个包含其他属性的对象number/object
屏幕 >= 600px
响应式栅格,可为栅格数或一个包含其他属性的对象number/object
屏幕 >= 1024px
响应式栅格,可为栅格数或一个包含其他属性的对象number/object
屏幕 >= 1280px
响应式栅格,可为栅格数或一个包含其他属性的对象number/object
屏幕 >= 1720px
响应式栅格,可为栅格数或一个包含其他属性的对象number/object
The text was updated successfully, but these errors were encountered: