A slot inside of a Feature Card component

Params

The Slot control currently doesn’t take any parameters.

Prop type

The Slot control passes a ReactNode to your component.

Example

The following example adds a Slot control to the media prop of a Feature Card component.

.makeswift.ts is a naming convention for organizing Makeswift registration code. Learn more.