[EDIT] FILE: usePlaceholder.js.tar
home/koolde6/public_html/lovestrong/frontend/node_modules/react-bootstrap/esm/usePlaceholder.js 0000755 00000001000 15076475647 0027250 0 ustar 00 import classNames from 'classnames'; import { useBootstrapPrefix } from './ThemeProvider'; import { useCol } from './Col'; export default function usePlaceholder({ animation, bg, bsPrefix, size, ...props }) { bsPrefix = useBootstrapPrefix(bsPrefix, 'placeholder'); const [{ className, ...colProps }] = useCol(props); return { ...colProps, className: classNames(className, animation ? `${bsPrefix}-${animation}` : bsPrefix, size && `${bsPrefix}-${size}`, bg && `bg-${bg}`) }; }home/koolde6/public_html/lovestrong/frontend/node_modules/react-bootstrap/cjs/usePlaceholder.js 0000755 00000001365 15076571723 0027251 0 ustar 00 "use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); exports.__esModule = true; exports.default = usePlaceholder; var _classnames = _interopRequireDefault(require("classnames")); var _ThemeProvider = require("./ThemeProvider"); var _Col = require("./Col"); function usePlaceholder({ animation, bg, bsPrefix, size, ...props }) { bsPrefix = (0, _ThemeProvider.useBootstrapPrefix)(bsPrefix, 'placeholder'); const [{ className, ...colProps }] = (0, _Col.useCol)(props); return { ...colProps, className: (0, _classnames.default)(className, animation ? `${bsPrefix}-${animation}` : bsPrefix, size && `${bsPrefix}-${size}`, bg && `bg-${bg}`) }; } module.exports = exports.default;
SAVE
CANCEL