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

Cleanup grid properties #502

Merged
merged 2 commits into from
Aug 12, 2024
Merged

Conversation

zakybilfagih
Copy link
Collaborator

We make the length and cascading lax here so that they can coerce to other type when interpolating.

Copy link

vercel bot commented Aug 7, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
styled-ppx ⬜️ Ignored (Inspect) Visit Preview Aug 7, 2024 5:40pm

Copy link
Owner

@davesnx davesnx left a comment

Choose a reason for hiding this comment

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

Make sense, the API is a bit weird thought, not much we can do about it tbh

@davesnx davesnx merged commit 77f8a3b into davesnx:main Aug 12, 2024
7 checks passed
module GridTemplateRows = struct
type t =
[ None.t
| `value of Track.t array
Copy link
Owner

Choose a reason for hiding this comment

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

maybe there should be a function to construct those `values?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yeap, just realized that. lineNames, subgrid, etc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants