Slot
Abstract component that merges its props onto its immediate child.
#
Importimport { Slot } from '@volue/wave-react';
#
Examples#
BasicInternally, Slot
will cloneElement(children)
with merging its props onto child.
#
Slotted Button#
Deep compositionSlot
can be useful when you need to compose multiple components together: