inherit props