99daecdb7468adf7c02f6585031e4d8496590448 updates the attachment declaration to expect an image attachment by default by specifying a variant: named parameter; however, this fails to account for non-image attachments.
Images are a special case of attachment -- I don't think the default implementation should make assumptions about this. I think it would make more sense to have a separate image component and declaration, as the rendering is always going to be different from other attachment types.
99daecdb7468adf7c02f6585031e4d8496590448 updates the
attachment
declaration to expect an image attachment by default by specifying avariant:
named parameter; however, this fails to account for non-image attachments.Images are a special case of attachment -- I don't think the default implementation should make assumptions about this. I think it would make more sense to have a separate
image
component and declaration, as the rendering is always going to be different from other attachment types.