Skip to content
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

feat(layout): group component #35

Merged
merged 4 commits into from
Oct 5, 2024

Conversation

GaoNeng-wWw
Copy link
Collaborator

Props

名称 类型 介绍 默认值
gao number 元素之间的间隔 0
align GroupAlign 元素垂直方向对齐方式, 等价于align-items 'start'
justify GroupJustify 元素水平方向排列方式, 等价于justify-content 'center'
className string 额外的className ''
h number 容器高度 undefined
style CSSProperties 追加的样式 {}
grow boolean 子元素是否会自动占据宽度 false
wrap CSSProperties['flexWrap'] 子元素换行策略 'wrap'

Type

export type GroupAlign = "center" | "start" | "end";
export type GroupJustify =
  | "start"
  | "center"
  | "end"
  | "space-around"
  | "space-between"
  | "space-evenly";

Copy link

changeset-bot bot commented Oct 5, 2024

🦋 Changeset detected

Latest commit: ab9ddfd

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@qwqui/group Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@GaoNeng-wWw GaoNeng-wWw added the enhancement New feature or request label Oct 5, 2024
This was referenced Oct 5, 2024
@SnowballXueQiu SnowballXueQiu merged commit 20894b4 into TeamVastsea:release Oct 5, 2024
4 checks passed
@github-actions github-actions bot mentioned this pull request Oct 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants