frenic / csstype

Strict TypeScript and Flow types for style based on MDN data
MIT License
1.7k stars 69 forks source link

[Help] - How to assign a specific attribute their specific properties ex. flex: flexTypes #151

Closed nahumzs closed 2 years ago

nahumzs commented 2 years ago

I would like to create a couple of CSS props but I would like them to have to autocomplete when the component is being used:

ex.

  <Box display="__show_autocomplete__" flex="__show_autocomplete__"

But can't figure out how to declare the prop display/flex as a CSS Type of display/flex.

I don't have an idea if this is even possible but would appreciate any help or direction 🙇