class Playbook::PbAvatar::Avatar

def online_status_props

def online_status_props
  props = {
    dark: dark,
    status: status,
    size: online_status_size,
    position: "absolute",
    right: online_status_right_position,
  }
  case size
  when "xxs", "xs", "sm"
    props[:top] = { value: "0", inset: true }
  else
    props[:bottom] = { value: "0", inset: true }
  end
  props
end