export const noop = ( ) => { } ; export const inlineSVG = ( svg ) => `data:image/svg+xml;utf8,${ encodeURIComponent ( svg ) }` ; export const filterProps = ( props , propsToFilter ) => { return Object . entries ( props ) . reduce < Object > ( ( accumulator , [ key , value ] ) => ( ! propsToFilter . includes ( key ) ? { ... accumulator , [ key ] : value } : accumulator ) , { } ) ; } ;