34 lines
983 B
TypeScript
34 lines
983 B
TypeScript
/* tslint:disable */
|
|
/* eslint-disable */
|
|
|
|
import React, { CSSProperties, SVGAttributes, FunctionComponent } from 'react';
|
|
import { getIconColor } from './helper';
|
|
|
|
interface Props extends Omit<SVGAttributes<SVGElement>, 'color'> {
|
|
size?: number;
|
|
color?: string | string[];
|
|
}
|
|
|
|
const DEFAULT_STYLE: CSSProperties = {
|
|
display: 'block',
|
|
};
|
|
|
|
const IconGerenzhongxin: FunctionComponent<Props> = ({ size, color, style: _style, ...rest }) => {
|
|
const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE;
|
|
|
|
return (
|
|
<svg viewBox="0 0 1024 1024" width={size + 'rem'} height={size + 'rem'} style={style} {...rest}>
|
|
<path
|
|
d="M512 128a144 144 0 0 1 144 144v80a144 144 0 0 1-288 0v-80a144 144 0 0 1 144-144z m112 416c150.224 0 272 121.776 272 272v80H128v-80c0-150.224 121.776-272 272-272h224z"
|
|
fill={getIconColor(color, 0, '#4581FF')}
|
|
/>
|
|
</svg>
|
|
);
|
|
};
|
|
|
|
IconGerenzhongxin.defaultProps = {
|
|
size: 18,
|
|
};
|
|
|
|
export default IconGerenzhongxin;
|