1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-18 00:00:00 +00:00

12.0 change edit wiki page style (#6109)

* 00 change className from app

* change wiki2 side panel style
This commit is contained in:
Michael An
2024-05-24 11:06:54 +08:00
committed by GitHub
parent 6c2af87eac
commit 34582dbf51
19 changed files with 258 additions and 203 deletions

View File

@@ -0,0 +1,21 @@
import React from 'react';
import PropTypes from 'prop-types';
import Icon from '../../../components/icon';
import classNames from 'classnames';
import './nav-item-icon.css';
function NavItemIcon({ symbol, className, disable }) {
return (
<div className={classNames('nav-item-icon', {'nav-item-icon-disable': disable})}>
<Icon symbol={symbol} className={className} />
</div>
);
}
NavItemIcon.propTypes = {
symbol: PropTypes.string.isRequired,
className: PropTypes.string,
disable: PropTypes.bool,
};
export default NavItemIcon;