How can I use Grid properties from the emotion wra...
# react
z
How can I use Grid properties from the emotion wrapper? Is it this
ident
method? I'm trying to do something like
Copy code
button {
    css {
        gridColumnStart = GridColumnStart("center")
        gridColumnEnd = GridColumnEnd("span 2")
        gridRowStart = GridRowStart("hazardous")
        gridRowEnd = GridRowEnd("span 3")
    }
}
But for all of them I'm getting variations of > Assignment type mismatch: actual type is 'GridColumnStart', but 'GridLineProperty?' was expected.
It looks like
ident
does what I want, do all non-
integer
values need to use
ident
?
t
ident
usually used in case when value is generic (like in your case). In common case you declare
Ident
constant and use it in different places
For
Display
and
AlignItems
for example you have already predefined constants