1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-27 07:44:50 +00:00

style: format code

This commit is contained in:
liuhongbo
2024-07-04 19:00:40 +08:00
parent 2b60bf50ec
commit 4dedd8f436
2 changed files with 22 additions and 9 deletions

View File

@@ -0,0 +1,14 @@
import React from 'react';
import ProtoTypes from 'prop-types';
const CustomIcon = ({ icon }) => {
return (
<span className='nav-item-icon nav-item-icon-disable'>{icon}</span>
);
};
CustomIcon.propTypes = {
icon: ProtoTypes.string.isRequired,
};
export default CustomIcon;