use Component methods to set styles and attributes within constructor