Skip to content

Type Alias: DriverPluginOptions ​

ts
type DriverPluginOptions = {
  components?: boolean | string;
  defaults?: Config;
};

Properties ​

PropertyTypeDescription
components?boolean | stringRegister the components globally: true registers DriverTour, DriverPopover, DriverOverlay, DriverBoxOverlay and DriverStage; a string changes the Driver prefix ("Tour" registers TourTour, ...). (default: false)
defaults?ConfigConfig applied to every driver created through useDriver() and to the shared instance.

Released under the MIT License.