/* tslint:disable */ /* eslint-disable */ import React, { FunctionComponent } from 'react'; import { ViewProps } from 'react-native'; import { Svg, GProps, Path } from 'react-native-svg'; export type IconNames = 'startnodegray' | 'import' | 'editline' | 'editnode' | 'startnode' | 'delete' | 'workflow' | 'addline2' | 'export' | 'endnode' | 'addline' | 'condnode' | 'addnode'; interface Props extends GProps, ViewProps { name: IconNames; size?: number; color?: string | string[]; } // If you don't want to make all icons in one file, // try to set generate_mode to "depends-on" in root file "iconfont.json". // And then regenerate icons by using cli command. const Iconfont: FunctionComponent = ({ color, name, size, ...rest }) => { switch (name) { case 'startnodegray': return ( ); case 'import': return ( ); case 'editline': return ( ); case 'editnode': return ( ); case 'startnode': return ( ); case 'delete': return ( ); case 'workflow': return ( ); case 'addline2': return ( ); case 'export': return ( ); case 'endnode': return ( ); case 'addline': return ( ); case 'condnode': return ( ); case 'addnode': return ( ); } return null; }; Iconfont.defaultProps = { size: 30, }; const getIconColor = (color: string | string[] | undefined, index: number, defaultColor: string) => { return color ? ( typeof color === 'string' ? color : color[index] || defaultColor ) : defaultColor; }; export default Iconfont;