Sha256: a89f2c8128968e28cd91bd35ce19d6473a91d5ba725606932a1ebe3edb5f85e6

Contents?: true

Size: 1018 Bytes

Versions: 7

Compression:

Stored size: 1018 Bytes

Contents

import React from "react"
import { Avatar } from "../../"

function AvatarDefault() {
  return (
    <div>
      <Avatar
          name="Terry Johnson"
          size="xs"
          status="online"
          url="https://randomuser.me/api/portraits/men/44.jpg"
      />
      <br/>
      <Avatar
          name="Terry Johnson"
          size="sm"
          status="online"
          url="https://randomuser.me/api/portraits/men/44.jpg"
      />
      <br/>
      <Avatar
          name="Terry Johnson"
          size="md"
          status="away"
          url="https://randomuser.me/api/portraits/men/44.jpg"
      />
      <br/>
      <Avatar
          name="Terry Johnson"
          size="lg"
          status="offline"
          url="https://randomuser.me/api/portraits/men/44.jpg"
      />
      <br/>
      <Avatar
          name="Terry Johnson"
          size="xl"
          status="offline"
          url="https://randomuser.me/api/portraits/men/44.jpg"
      />
    </div>
  )
}

export default AvatarDefault;

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
playbook_ui-2.9.8 app/pb_kits/playbook/pb_avatar/docs/_avatar_default.jsx
playbook_ui-2.9.7 app/pb_kits/playbook/pb_avatar/docs/_avatar_default.jsx
playbook_ui-2.9.6 app/pb_kits/playbook/pb_avatar/docs/_avatar_default.jsx
playbook_ui-2.9.5 app/pb_kits/playbook/pb_avatar/docs/_avatar_default.jsx
playbook_ui-2.9.4 app/pb_kits/playbook/pb_avatar/docs/_avatar_default.jsx
playbook_ui-2.9.3 app/pb_kits/playbook/pb_avatar/docs/_avatar_default.jsx
playbook_ui-2.9.2 app/pb_kits/playbook/pb_avatar/docs/_avatar_default.jsx