box-ui-elements
Version:
Box UI Elements
25 lines • 910 B
JavaScript
import * as React from 'react';
import Tooltip, { TooltipPosition } from '../tooltip';
import IconPuzzlePiece from '../../icons/general/IconPuzzlePiece';
import './FooterIndicator.scss';
const FooterIndicator = ({
indicatorText
}) => {
return /*#__PURE__*/React.createElement("div", {
className: "bdl-FooterIndicator"
}, /*#__PURE__*/React.createElement(Tooltip, {
position: TooltipPosition.TOP_RIGHT,
text: indicatorText
}, /*#__PURE__*/React.createElement("div", {
className: "bdl-FooterIndicator-content"
}, /*#__PURE__*/React.createElement("span", {
className: "bdl-FooterIndicator-iconWrapper"
}, /*#__PURE__*/React.createElement(IconPuzzlePiece, {
height: 14,
width: 14
})), /*#__PURE__*/React.createElement("span", {
className: "bdl-FooterIndicator-text"
}, indicatorText))));
};
export default FooterIndicator;
//# sourceMappingURL=FooterIndicator.js.map