Skip to content

LiveProps

Defined in: react/src/Live.tsx:21

optional children?: ReactNode

Defined in: react/src/Live.tsx:28

Shown in the slot while there is no player: a poster, a line of text, or nothing.


optional className?: string

Defined in: react/src/Live.tsx:24


live: LiveBlock | null | undefined

Defined in: react/src/Live.tsx:23

The block to play: state.live from useIsland, or parts.live in a Hero layout.


optional style?: CSSProperties

Defined in: react/src/Live.tsx:26

Merged over the slot’s own style, so a different ratio or size is yours to set.