IslandReservationProps
Defined in: react/src/IslandReservation.tsx:32
Properties
Section titled “Properties”className?
Section titled “className?”
optionalclassName?:string
Defined in: react/src/IslandReservation.tsx:41
The same className the island gets.
fallback
Section titled “fallback”fallback:
object
Defined in: react/src/IslandReservation.tsx:39
The same fallback the island gets: its geometry is reserved,
invisibly, and the island recognises its reservation by it.
optionalbody?:string
optionalcta?:string
greeting?
Section titled “greeting?”
optionalgreeting?:string
headline?
Section titled “headline?”
optionalheadline?:string
optionalhref?:string
Defined in: react/src/IslandReservation.tsx:48
For a cta: the same href the island gets, so the reservation is the
same element (a link with an href, otherwise a plain element).
island
Section titled “island”island:
"cta"|"hero"
Defined in: react/src/IslandReservation.tsx:34
The island this stands in for.
nonce?
Section titled “nonce?”
optionalnonce?:string
Defined in: react/src/IslandReservation.tsx:54
A nonce for the small inline script in the server HTML that records when the reservation first painted, for pages whose Content Security Policy requires one.
style?
Section titled “style?”
optionalstyle?:CSSProperties
Defined in: react/src/IslandReservation.tsx:43
The same style the island gets.