import React , { FunctionComponent } from 'react' ; import { EuiIcon , EuiIconProps } from '@elastic/eui' ; import { InfinityIconSvg } from './infinity_icon.svg' ; export const InfinityIcon = ( props ) => ( < EuiIcon type = { InfinityIconSvg } { ... props } />);