Sha256: fd4b497c9af21317a0b91a11fdd92c85be0feb7b7d59f2285ed794c5a485a91e

Contents?: true

Size: 982 Bytes

Versions: 948

Compression:

Stored size: 982 Bytes

Contents

import React from 'react'
import { Avatar } from 'playbook-ui'

const AvatarNoImage = (props) => {
  return (
    <div>
      <Avatar
          imageUrl="Just some text here"
          name="Terry Johnson"
          size="xxs"
          {...props}
      />
      <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

948 entries across 948 versions & 2 rubygems

Version Path
playbook_ui-14.11.0.pre.rc.17 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-14.11.0 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui_docs-14.11.0.pre.rc.16 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-14.11.0.pre.rc.16 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui_docs-14.10.0.pre.alpha.play16825301 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-14.10.0.pre.alpha.play16825301 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui_docs-14.11.0.pre.rc.15 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-14.11.0.pre.rc.15 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui_docs-14.11.0.pre.rc.14 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-14.11.0.pre.rc.14 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui_docs-14.11.0.pre.rc.13 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-14.11.0.pre.rc.13 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui_docs-14.11.0.pre.rc.12 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-14.11.0.pre.rc.12 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui_docs-14.10.0.pre.alpha.PLAY1774timelinelabelstepspacing5274 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-14.10.0.pre.alpha.PLAY1774timelinelabelstepspacing5274 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui_docs-14.10.0.pre.alpha.play1465attempt25272 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-14.10.0.pre.alpha.play1465attempt25272 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui_docs-14.10.0.pre.alpha.play16825244 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx
playbook_ui-14.10.0.pre.alpha.play16825244 app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx