Parts
The parts of @poltura/theme-sdk/slots.
On this page
import { … } from '@poltura/theme-sdk/slots';AppSlot
An anchor that draws the theme's content, then every active app's widget for the slot; nothing when both are empty.
AppSlot(props: AppSlotProps): ReactElement | nullProps: AppSlotProps
Example
import { AppSlot } from '@poltura/theme-sdk/slots';
export function FooterHelp() {
return <AppSlot name='footer.help' className='mt-4' />;
}AppZone
The app blocks the merchant placed in the header or footer zone, in their order.
AppZone(props: AppZoneProps): ReactNodeProps: AppZoneProps
Example
import { AppZone } from '@poltura/theme-sdk/slots';
export function FooterApps() {
return <AppZone zone='footer' />;
}