carbon-components-svelte
carbon-components-svelte copied to clipboard
What's the difference between Modal and ComposedModal?
ComposedModal also doesn't work in svelte-kit, possibly because of onDestroy
using document
?
ComposedModal also doesn't work in svelte-kit, possibly because of
onDestroy
usingdocument
?
Fixed by https://github.com/carbon-design-system/carbon-components-svelte/pull/914
the (generated) docs still does not answer the question :) The only difference is between the implementation right, a Modal
just takes props whereas a ComposedModal
exposes it's innards more and allows to use multiple slots for content