Skip to content

Commit

Permalink
fix attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonDanisch committed Dec 17, 2023
1 parent 8d9a9eb commit 0f3b07c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/components.jl
Original file line number Diff line number Diff line change
Expand Up @@ -128,16 +128,18 @@ end
Places objects in a row, based on `Grid`.
"""
function Row(args...; grid_attributes...)
return Grid(args...; rows="1fr", columns="repeat($(length(args)), 1fr)", attributes...)
return Grid(
args...; rows="1fr", columns="repeat($(length(args)), 1fr)", grid_attributes...
)
end

"""
Col(elems...; grid_attributes...)
Places objects in a column, based on `Grid`.
"""
function Col(args...; attributes...)
return Grid(args...; columns="1fr", attributes...)
function Col(args...; grid_attributes...)
return Grid(args...; columns="1fr", grid_attributes...)
end

"""
Expand Down

2 comments on commit 0f3b07c

@SimonDanisch
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register()

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request updated: JuliaRegistries/General/97247

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v3.0.0 -m "<description of version>" 0f3b07ca46a3fe49a8a0aefeba454ce874c14fbb
git push origin v3.0.0

Also, note the warning: This looks like a new registration that registers version 3.0.0.
Ideally, you should register an initial release with 0.0.1, 0.1.0 or 1.0.0 version numbers
This can be safely ignored. However, if you want to fix this you can do so. Call register() again after making the fix. This will update the Pull request.

Please sign in to comment.