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-10.0.0.pre.alphafonts app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-9.19.0.pre.alpha.pre.fonts2 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-9.19.0 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-9.19.0.pre.alphafonts app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-9.18.0.flow.bin.alpha app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-9.18.0 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-9.17.0 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-9.17.0.pre.decouple.website2 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-9.16.0 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-9.15.0 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-9.15.0.pre.decouple.website1 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-9.14.1.alpha.radio.alignment app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-9.14.1.alpha.highcharts9 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-9.14.1 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-9.13.0 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-9.12.0 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-9.12.0.pre.text.addon app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-9.11.0 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-9.10.0 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-9.10.0.pre.date.time.stacked.1 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx