35 lines
1.2 KiB
TypeScript
35 lines
1.2 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 IconZhankai: 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="M492.586667 668.138667c9.962667 9.941333 25.642667 10.666667 36.416 2.133333l2.389333-2.133333 232.746667-232.746667a27.434667 27.434667 0 0 0-36.394667-40.917333l-2.389333 2.133333-213.397334 213.333333-213.312-213.333333a27.434667 27.434667 0 0 0-36.394666-2.133333l-2.389334 2.133333a27.434667 27.434667 0 0 0-2.133333 36.394667l2.133333 2.389333 232.746667 232.746667z"
|
|
fill={getIconColor(color, 0, '#000000')}
|
|
opacity=".8"
|
|
/>
|
|
</svg>
|
|
);
|
|
};
|
|
|
|
IconZhankai.defaultProps = {
|
|
size: 18,
|
|
};
|
|
|
|
export default IconZhankai;
|