Sha256: 14296fd93a940d7e35c0d89adec129b168c3b1ed280f7a597fc21f16de4e958e

Contents?: true

Size: 1.32 KB

Versions: 948

Compression:

Stored size: 1.32 KB

Contents

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

const UserWithTerritory = (props) => {
  return (
    <div className="pb--doc-demo-row">

      <div>
        <User
            align="center"
            avatarUrl="https://randomuser.me/api/portraits/women/44.jpg"
            name="Anna Black"
            orientation="vertical"
            size="lg"
            territory="PHL"
            title="Remodeling Consultant"
            {...props}
        />
      </div>

      <div>
        <User
            align="left"
            avatarUrl="https://randomuser.me/api/portraits/women/44.jpg"
            name="Anna Black"
            orientation="horizontal"
            territory="PHL"
            title="Remodeling Consultant"
            {...props}
        />
      </div>

      <div>
        <User
            align="center"
            name="Anna Black"
            orientation="horizontal"
            size="sm"
            territory="PHL"
            title="Remodeling Consultant"
            {...props}
        />

        <br />

        <User
            align="left"
            name="Anna Black"
            orientation="horizontal"
            size="lg"
            territory="PHL"
            title="Remodeling Consultant"
            {...props}
        />
      </div>

    </div>
  )
}

export default UserWithTerritory

Version data entries

948 entries across 948 versions & 2 rubygems

Version Path
playbook_ui_docs-14.11.1.pre.alpha.PLAY17445539 app/pb_kits/playbook/pb_user/docs/_user_with_territory.jsx
playbook_ui-14.11.1.pre.alpha.PLAY17445539 app/pb_kits/playbook/pb_user/docs/_user_with_territory.jsx
playbook_ui_docs-14.11.1.pre.alpha.PBNTR798datepickerturbo5537 app/pb_kits/playbook/pb_user/docs/_user_with_territory.jsx
playbook_ui-14.11.1.pre.alpha.PBNTR798datepickerturbo5537 app/pb_kits/playbook/pb_user/docs/_user_with_territory.jsx
playbook_ui_docs-14.11.1.pre.alpha.pbntr703collapsiblerowsrails5536 app/pb_kits/playbook/pb_user/docs/_user_with_territory.jsx
playbook_ui-14.11.1.pre.alpha.pbntr703collapsiblerowsrails5536 app/pb_kits/playbook/pb_user/docs/_user_with_territory.jsx
playbook_ui_docs-14.11.1.pre.alpha.PLAY1751pbcontenttagpt25529 app/pb_kits/playbook/pb_user/docs/_user_with_territory.jsx
playbook_ui-14.11.1.pre.alpha.PLAY1751pbcontenttagpt25529 app/pb_kits/playbook/pb_user/docs/_user_with_territory.jsx
playbook_ui_docs-14.11.1.pre.alpha.PBNTR7495495 app/pb_kits/playbook/pb_user/docs/_user_with_territory.jsx
playbook_ui-14.11.1.pre.alpha.PBNTR7495495 app/pb_kits/playbook/pb_user/docs/_user_with_territory.jsx
playbook_ui_docs-14.12.0.pre.rc.11 app/pb_kits/playbook/pb_user/docs/_user_with_territory.jsx
playbook_ui-14.12.0.pre.rc.11 app/pb_kits/playbook/pb_user/docs/_user_with_territory.jsx
playbook_ui_docs-14.12.0.pre.rc.10 app/pb_kits/playbook/pb_user/docs/_user_with_territory.jsx
playbook_ui-14.12.0.pre.rc.10 app/pb_kits/playbook/pb_user/docs/_user_with_territory.jsx
playbook_ui_docs-14.12.0.pre.rc.9 app/pb_kits/playbook/pb_user/docs/_user_with_territory.jsx
playbook_ui-14.12.0.pre.rc.9 app/pb_kits/playbook/pb_user/docs/_user_with_territory.jsx
playbook_ui_docs-14.12.0.pre.rc.8 app/pb_kits/playbook/pb_user/docs/_user_with_territory.jsx
playbook_ui-14.12.0.pre.rc.8 app/pb_kits/playbook/pb_user/docs/_user_with_territory.jsx
playbook_ui_docs-14.12.0.pre.rc.7 app/pb_kits/playbook/pb_user/docs/_user_with_territory.jsx
playbook_ui-14.12.0.pre.rc.7 app/pb_kits/playbook/pb_user/docs/_user_with_territory.jsx