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-8.0.0.pre.alpha4 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-8.0.0.pre.alpha1 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-7.16.0.pre.alpha5 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-7.16.0.pre.alpha4 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-7.16.0.pre.alpha3 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-7.16.0.pre.alpha2 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-7.16.0.pre.alpha1 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-7.16.0 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx