Sha256: 5fd24348be5d418cc8bf6011550cd651feb9fb27b35a11265fe26116eaf61356

Contents?: true

Size: 1.13 KB

Versions: 103

Compression:

Stored size: 1.13 KB

Contents

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

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

export default AvatarDefault

Version data entries

103 entries across 103 versions & 1 rubygems

Version Path
playbook_ui-8.1.3 app/pb_kits/playbook/pb_avatar/docs/_avatar_default.jsx
playbook_ui-8.1.2 app/pb_kits/playbook/pb_avatar/docs/_avatar_default.jsx
playbook_ui-8.0.3 app/pb_kits/playbook/pb_avatar/docs/_avatar_default.jsx
playbook_ui-8.2.0.pre.alpha2 app/pb_kits/playbook/pb_avatar/docs/_avatar_default.jsx
playbook_ui-8.1.1 app/pb_kits/playbook/pb_avatar/docs/_avatar_default.jsx
playbook_ui-8.0.2 app/pb_kits/playbook/pb_avatar/docs/_avatar_default.jsx
playbook_ui-8.2.0.pre.alpha1 app/pb_kits/playbook/pb_avatar/docs/_avatar_default.jsx
playbook_ui-8.1.0 app/pb_kits/playbook/pb_avatar/docs/_avatar_default.jsx
playbook_ui-8.0.1 app/pb_kits/playbook/pb_avatar/docs/_avatar_default.jsx
playbook_ui-8.0.0 app/pb_kits/playbook/pb_avatar/docs/_avatar_default.jsx
playbook_ui-8.0.0.pre.alpha5 app/pb_kits/playbook/pb_avatar/docs/_avatar_default.jsx
playbook_ui-8.0.0.pre.alpha4 app/pb_kits/playbook/pb_avatar/docs/_avatar_default.jsx
playbook_ui-8.0.0.pre.alpha1 app/pb_kits/playbook/pb_avatar/docs/_avatar_default.jsx
playbook_ui-7.16.0.pre.alpha5 app/pb_kits/playbook/pb_avatar/docs/_avatar_default.jsx
playbook_ui-7.16.0.pre.alpha4 app/pb_kits/playbook/pb_avatar/docs/_avatar_default.jsx
playbook_ui-7.16.0.pre.alpha3 app/pb_kits/playbook/pb_avatar/docs/_avatar_default.jsx
playbook_ui-7.16.0.pre.alpha2 app/pb_kits/playbook/pb_avatar/docs/_avatar_default.jsx
playbook_ui-7.16.0.pre.alpha1 app/pb_kits/playbook/pb_avatar/docs/_avatar_default.jsx
playbook_ui-7.14.0.pre.alpha1 app/pb_kits/playbook/pb_avatar/docs/_avatar_default.jsx
playbook_ui-7.16.0 app/pb_kits/playbook/pb_avatar/docs/_avatar_default.jsx