This commit is contained in:
oneao committed 2025-11-04 17:32:32 +08:00
1 parent c0ff3ce883
commit 69d03709ba
41 files changed
+5352 -67

No files matched your search

@@ -0,0 +1,37 @@
/* tslint:disable */
/* eslint-disable */
import React, { FunctionComponent } from 'react';
import { ViewProps } from 'react-native';
import { GProps } from 'react-native-svg';
import IconWeixin from './IconWeixin';
import IconZhiwen from './IconZhiwen';
import IconQq from './IconQq';
export { default as IconWeixin } from './IconWeixin';
export { default as IconZhiwen } from './IconZhiwen';
export { default as IconQq } from './IconQq';
export type IconNames = 'weixin' | 'zhiwen' | 'QQ';
interface Props extends GProps, ViewProps {
name: IconNames;
size?: number;
color?: string | string[];
}
let IconFont: FunctionComponent<Props> = ({ name, ...rest }) => {
switch (name) {
case 'weixin':
return <IconWeixin key="1" {...rest} />;
case 'zhiwen':
return <IconZhiwen key="2" {...rest} />;
case 'QQ':
return <IconQq key="3" {...rest} />;
}
return null;
};
IconFont = React.memo ? React.memo(IconFont) : IconFont;
export default IconFont;