support setting attribure of component