Sha256: c17920cbc58fb658b0aae0b6e54e08654589e8f3777416d81121fabdef0945e9

Contents?: true

Size: 840 Bytes

Versions: 88

Compression:

Stored size: 840 Bytes

Contents

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

const AvatarNoImage = (props) => {
  return (
    <div>
      <Avatar
          imageUrl="Just some text here"
          name="Terry Johnson"
          size="xs"
          {...props}
      />
      <Avatar
          imageUrl={4}
          name="Terry Johnson"
          size="sm"
          {...props}
      />
      <Avatar
          imageUrl="https://google.com"
          name="Terry Johnson"
          size="md"
          {...props}
      />
      <Avatar
          imageUrl=""
          name="Terry Johnson"
          size="lg"
          {...props}
      />
      <Avatar
          imageUrl="https://randomuser.me/api/portraits/men/notapicture.jpg"
          name="Terry Johnson"
          size="xl"
          {...props}
      />
    </div>
  )
}

export default AvatarNoImage

Version data entries

88 entries across 88 versions & 1 rubygems

Version Path
playbook_ui-9.10.0.pre.alpha2 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-9.10.0.pre.alpha1 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-9.9.0.alpha.inline1 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-9.9.0 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-9.8.0 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-9.7.0.pre.alphawidth1 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-9.7.0.pre.alpha.a11y.btn app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-9.7.0 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-9.6.1 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-9.6.1.pre.deps1 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-9.6.0 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-9.5.0.alpha.rs.downgrade app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-9.5.0 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-9.4.0.alpha.sisense app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-9.4.0.alpha.user.kit.bug app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-9.4.0 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-9.3.1.pre.alpha2 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-9.4.0.pre.alpha2 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-9.4.0.pre.alpha1 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-9.3.1.pre.alpha1 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx