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 IconTuikuan: 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="M848 112a64 64 0 0 1 63.92 60.8L912 176v96c0 157.28-126.08 285.12-282.72 287.952L624 560h-75.632l103.744 103.76a32 32 0 0 1 1.632 43.52l-1.632 1.744a32 32 0 0 1-43.504 1.616l-1.76-1.616-158.384-158.4a32 32 0 0 1-1.616-43.504l1.616-1.76 158.4-158.384a32 32 0 0 1 46.88 43.52l-1.632 1.744L548.336 496H624c123.712 0 224-100.288 224-224v-96H176v672h672V640a32 32 0 0 1 63.92-2.4L912 640v208a64 64 0 0 1-60.8 63.92L848 912H176a64 64 0 0 1-63.92-60.8L112 848V176a64 64 0 0 1 60.8-63.92L176 112h672z"
|
|
fill={getIconColor(color, 0, '#000000')}
|
|
/>
|
|
</svg>
|
|
);
|
|
};
|
|
|
|
IconTuikuan.defaultProps = {
|
|
size: 18,
|
|
};
|
|
|
|
export default IconTuikuan;
|