Change attr to prop