more
This commit is contained in:
18
src/pageElements/Tooltip.js
Normal file
18
src/pageElements/Tooltip.js
Normal file
@@ -0,0 +1,18 @@
|
||||
import "../styles/tooltip.scss";
|
||||
import { InfoCircle } from "react-bootstrap-icons";
|
||||
|
||||
function Tooltip(props) {
|
||||
const { text } = props;
|
||||
return (
|
||||
<div className="tooltip-container">
|
||||
<InfoCircle
|
||||
className="infocircle-icon"
|
||||
size="16px"
|
||||
style={{ color: "red" }}
|
||||
/>
|
||||
<span className="tooltip-text">{text}</span>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default Tooltip;
|
||||
Reference in New Issue
Block a user