Config Prop

Configuring components can be accomplished through data attributes as you typically do on Bootstrap components, or through a configuration object like you might if you manually instantiate a Bootstrap component.

You can conveniently pass this configuration as a prop if you would like.

Example Usage

This tooltip is configured to show on the left.

import React from "react";
import {Tooltip} from "bs5-react-elements";

function ExampleUsage() {
  return <Tooltips
    title="Lorem ipsum dolor."
    data-bs-toggle="tooltip"
    config={{placement:"left"}}
  >
    Lorem ipsum
  </Tooltip>
}

Always refer to the official Bootstrap documentation to find how components can be configured. They refer to these as "options" in their documentation.