add transition as prop