feat(directory): header title will only contain operator name, instead of full name

This commit is contained in:
Haoyu Xu
2023-05-05 20:09:19 -04:00
parent fedbcff8e6
commit 1e285bc3b7
7 changed files with 26 additions and 7 deletions

View File

@@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
export default function CharIcon(props) {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox={props.viewBox}>
<svg xmlns="http://www.w3.org/2000/svg" viewBox={props.viewBox} style={props.style}>
{
props.type === 'operator' ?
<g><path d="M89 17.5 30.4 57 24.3 71.4 82.9 32.6Z"></path><path d="M0 17.5 58.6 57 64.7 71.4 6.1 32.7Z"> </path><path d="M89 0 30.4 39.5 24.3 53.9 82.9 15.1Z"> </path><path d="M0 0 58.6 39.5 64.7 53.9 6.1 15.2Z"> </path></g>