39 lines
1.5 KiB
TypeScript
39 lines
1.5 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 IconShoukuanliebiao: 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="M832 128a32 32 0 0 1 32 32v704a32 32 0 0 1-32 32H288a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h544z m-128 592H416a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h288a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16z m0-128H416a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h288a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zM542.176 208H464l10.064 11.76 61.248 117.152h-63.536l-5.952 42.96h69.04L522.976 464h69.488l11.872-84.128h69.488l5.952-42.96h-63.552L720 208h-74.56l-63.504 87.296L542.176 208z"
|
|
fill={getIconColor(color, 0, '#4581FF')}
|
|
/>
|
|
<path
|
|
d="M288 128a32 32 0 0 0-32 32v704a32 32 0 0 0 32 32h-80a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32z"
|
|
fill={getIconColor(color, 1, '#4581FF')}
|
|
opacity=".4"
|
|
/>
|
|
</svg>
|
|
);
|
|
};
|
|
|
|
IconShoukuanliebiao.defaultProps = {
|
|
size: 18,
|
|
};
|
|
|
|
export default IconShoukuanliebiao;
|