u
This commit is contained in:
1 parent
7971c527af
commit
b8a6b15355
27 files changed
+480
-399
No files matched your search
@@ -1,24 +1,18 @@
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import React from 'react';
|
||||
import type { FunctionComponent } from 'react';
|
||||
import type { ViewProps } from 'react-native';
|
||||
import React, { FunctionComponent } from 'react';
|
||||
import { ViewProps } from 'react-native';
|
||||
import { Svg, GProps, Path } from 'react-native-svg';
|
||||
import { getIconColor } from './helper';
|
||||
|
||||
interface Props extends Omit<GProps, 'color'>, ViewProps {
|
||||
interface Props extends GProps, ViewProps {
|
||||
size?: number;
|
||||
color?: string | string[];
|
||||
}
|
||||
|
||||
const IconRiyongpin: FunctionComponent<Props> = ({
|
||||
size = 18,
|
||||
color,
|
||||
...rest
|
||||
}) => {
|
||||
let IconRiyongpin: FunctionComponent<Props> = ({ size, color, ...rest }) => {
|
||||
return (
|
||||
|
||||
<Svg viewBox="0 0 1024 1024" width={size} height={size} {...rest}>
|
||||
<Path
|
||||
d="M133.12 1024c-16.896 0-30.72-13.824-30.72-30.72V30.72C102.4 13.824 116.224 0 133.12 0c16.896 0 30.72 13.824 30.72 30.72v962.56c0 16.896-13.824 30.72-30.72 30.72z"
|
||||
@@ -53,8 +47,13 @@ const IconRiyongpin: FunctionComponent<Props> = ({
|
||||
fill={getIconColor(color, 7, '#474A54')}
|
||||
/>
|
||||
</Svg>
|
||||
|
||||
);
|
||||
};
|
||||
|
||||
export default React.memo(IconRiyongpin);
|
||||
IconRiyongpin.defaultProps = {
|
||||
size: 18,
|
||||
};
|
||||
|
||||
IconRiyongpin = React.memo ? React.memo(IconRiyongpin) : IconRiyongpin;
|
||||
|
||||
export default IconRiyongpin;
|
||||
Reference in new issue
Block a user