Closed nandorojo closed 1 year ago
I started a PR to address all of this. It's going pretty well.
Release notes here: https://github.com/nandorojo/dripsy/releases
Released in 4.0.0
: https://github.com/nandorojo/dripsy/releases/tag/v4.0.0
yarn add dripsy
I think we need to fully rewrite the types for this to start working again. The target would be TS 5.0+ with no backwards compatibility. I'm not exactly looking forward to this lol since getting them working before was such a pain. There are very few tests and stuff. But I'll do my best to get to this at some point soon.
Going to treat this as the umbrella issue for #274 #147 #219 #260 #264
Issues
sx.variant
givesstring is not assignable to undefined
erroronlyAllowThemeValues
not working #264alignItems: 'center'
doesn't autocomplete, butalignItems: ['center']
does #174TextInput
types #260View.variant
gives plain stringref
TextInput.placeholderTextColor
,ActivityIndicator.color
, and other related props.@dripsy/core
and@dripsy/gradient
intodripsy
theme.aliases
to give your own shorthandsPlease let me know what issues I need to add there.