34 lines
1.3 KiB
TypeScript
34 lines
1.3 KiB
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 IconShouye: 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="M570.256 230.304l2.544 2.432 235.936 235.936h5.648v5.648l73.52 73.536c9.328 9.328 9.376 24.4 0.096 33.664a23.792 23.792 0 0 1-31.968 1.456l-1.696-1.552-39.952-39.952v322.88c0 17.472-14.24 31.648-31.824 31.648l-190.992-0.016V896H576V688a64 64 0 1 0-128 0v208h-15.584v-0.016L241.44 896a31.744 31.744 0 0 1-31.84-31.648V539.648l-39.84 39.872c-9.28 9.28-24.352 9.216-33.664-0.096a23.84 23.84 0 0 1-1.632-31.984l1.536-1.68 73.6-73.632v-3.456h3.456l236.288-236.272c33.168-33.168 86.592-33.824 120.912-2.096z"
|
|
fill={getIconColor(color, 0, '#4581FF')}
|
|
/>
|
|
</svg>
|
|
);
|
|
};
|
|
|
|
IconShouye.defaultProps = {
|
|
size: 18,
|
|
};
|
|
|
|
export default IconShouye;
|