konstaui / konsta

Mobile UI components made with Tailwind CSS
https://konstaui.com
MIT License
3.55k stars 131 forks source link

Message Svelte component - don't remove text slot from build #208

Closed hjkl closed 3 months ago

hjkl commented 6 months ago

I'd like to use the text slot defined on the Message component (to add sanitized html with {@html}

Unfortunately, build-svelte-types removes the 'text' slot from the Message component's type definitions as the line doesn't contain React.ReactNode

Added this to the slot and works correctly on the component for Svelte - unsure what the ramifications are for React.

nolimits4web commented 6 months ago

t0ggles-create konsta

t0ggles[bot] commented 6 months ago

Task nolimits4web/KONSTA-87 was created

t0ggles task KONSTA-87

t0ggles[bot] commented 3 months ago

Task nolimits4web/KONSTA-87 status changed to Done

nolimits4web commented 3 months ago

Merged, thanks!