Defining attributes for Phoenix component from a list

For posterity, this has been fixed: move guards in attr macro to __attr__! (#2449) · phoenixframework/phoenix_live_view@590a34f · GitHub