export function getFilteredProps ( props ) { const keys = Object . keys ( props ) ; const filtered = { } ; for ( let i = keys . length - 1 ; i >= 0 ; -- i ) { const key = keys [ i ] ; if ( key [ 0 ] !== '$' ) { filtered [ key ] = props [ key ] ; } } return filtered ; }