GlAvatar: add support for responsive sizes
Currently there is a size
prop in GlAvatar
that only supports passing one number. There are cases where we need a smaller avatar on mobile and this is not currently possible. We should consider adding updating the size
prop so that it can accept an object or a number. The object would look something like this:
{
sm: 24,
md: 48
}