Closed alanhoff closed 1 month ago
probably related to #311
Same here
@alanhoff @gal1419 @marviobezerra
I had to rewrite the Text component to avoid using union intersection. Combining HTMLProps
with JSXStyleProps
across all possible HTML tags was too complex for TypeScript to handle. The updated component is now available for copy/fetch from the CLI.
Thanks @cschroeter!
Hey, it looks like the new
<Text />
component isn't being wrapped by the jsx factory withstyled()
and it's also not using thetext
recipe anymore. This causes all the JSX style props to just be forwarded into<Component />
. Is that correct?https://github.com/cschroeter/park-ui/commit/b809d7a11ec96f312fafef671f5b16f19debe4ce#diff-2b780ab533590cf97f45a899095b095eb2cb695b01810b73719d8b767c6bc1ccR35