box-ui-elements
Version:
Box UI Elements
26 lines • 1.03 kB
JavaScript
import * as React from 'react';
import { Focusable, Tooltip, TooltipProvider } from '@box/blueprint-web';
import IconPuzzlePiece from '../../icons/general/IconPuzzlePiece';
import './FooterIndicator.scss';
const FooterIndicator = ({
indicatorText
}) => {
return /*#__PURE__*/React.createElement("div", {
className: "bdl-FooterIndicator"
}, /*#__PURE__*/React.createElement(TooltipProvider, null, /*#__PURE__*/React.createElement(Tooltip, {
side: "top",
align: "end",
content: indicatorText
}, /*#__PURE__*/React.createElement(Focusable, null, /*#__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