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

GridTemplate properties missing #448

Open
MichaelMay81 opened this issue Feb 4, 2022 · 1 comment
Open

GridTemplate properties missing #448

MichaelMay81 opened this issue Feb 4, 2022 · 1 comment

Comments

@MichaelMay81
Copy link

gridTemplateRows and gridTemplateColumns are missing following properties: auto, max-content, min-content, initial and inheritFromParent

@MichaelMay81
Copy link
Author

MichaelMay81 commented Feb 4, 2022

For my project I made an extension:

namespace Feliz.Styles
    type IGridColumnSize = interface end
    type IGridRowSize = interface end

[<Erase>]
    type gridColumnSize =
        static member inline auto : IGridColumnSize = unbox "auto"
        // ...
[<Erase>]
    type gridRowSize = ...

[<Erase>]
    type style =
        static member inline gridTemplateRows(value: IGridRowSize list) =
             Interop.mkStyle "gridTemplateRows" (String.concat " " (unbox<string list> value))
        static member inline gridTemplateColumns(value: IGridColumnSize list) = ...

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

No branches or pull requests

1 participant