React Native Spotlight Tour - API Reference


React Native Spotlight Tour - API Reference / ShapeOptions

Interface: ShapeOptions

Defined in: package/src/lib/SpotlightTour.context.ts:29

Properties

padding?

optional padding: number

Defined in: package/src/lib/SpotlightTour.context.ts:37

The padding of the spot shape based on the wrapped component. A zero padding means the spot shape will fit exactly around the wrapped component. The padding value is a number in points.

Default

16;

type?

optional type: Shape

Defined in: package/src/lib/SpotlightTour.context.ts:45

The shape of the spotlight. Possible values are:

  • circle
  • rectangle

Default

circle