Файловый менеджер - Редактировать - /home/freeclou/app.optimyar.com/backend/node_modules/reactstrap/src/Breadcrumb.js
Назад
import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import { mapToCssModules, tagPropType } from './utils'; const propTypes = { tag: tagPropType, listTag: tagPropType, className: PropTypes.string, listClassName: PropTypes.string, cssModule: PropTypes.object, children: PropTypes.node, 'aria-label': PropTypes.string }; const defaultProps = { tag: 'nav', listTag: 'ol', 'aria-label': 'breadcrumb' }; const Breadcrumb = (props) => { const { className, listClassName, cssModule, children, tag: Tag, listTag: ListTag, 'aria-label': label, ...attributes } = props; const classes = mapToCssModules(classNames( className ), cssModule); const listClasses = mapToCssModules(classNames( 'breadcrumb', listClassName ), cssModule); return ( <Tag {...attributes} className={classes} aria-label={label}> <ListTag className={listClasses}> {children} </ListTag> </Tag> ); }; Breadcrumb.propTypes = propTypes; Breadcrumb.defaultProps = defaultProps; export default Breadcrumb;
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка