Sha256: c63e298384b251781eeda078e2b951d60f887fb67065e5f6514df6980c3d01fc

Contents?: true

Size: 877 Bytes

Versions: 974

Compression:

Stored size: 877 Bytes

Contents

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

const MessageTimestamp = (props) => {
  return (
    <>
      <Message
          avatarName="Wade Winningham"
          avatarUrl="https://randomuser.me/api/portraits/men/14.jpg"
          label="Anna Black"
          message="We will escalate this issue to a Senior Support agent."
          timestamp="9 minutes ago"
          timestampObject={new Date}
          {...props}
      />
      <br />
      <br />
      <Message
          alignTimestamp="left"
          avatarName="Wade Winningham"
          avatarUrl="https://randomuser.me/api/portraits/men/14.jpg"
          label="Becca Jacobs"
          message="Application for Kate Smith is waiting for your approval"
          timestamp="12.20p"
          timestampObject={new Date}
          {...props}
      />
    </>
  )
}

export default MessageTimestamp

Version data entries

974 entries across 974 versions & 2 rubygems

Version Path
playbook_ui-10.21.0.pre.alpha.lightbox app/pb_kits/playbook/pb_message/docs/_message_timestamp.jsx
playbook_ui-10.21.0.pre.alpha.rg1 app/pb_kits/playbook/pb_message/docs/_message_timestamp.jsx
playbook_ui-10.21.0.pre.alpha.jg1 app/pb_kits/playbook/pb_message/docs/_message_timestamp.jsx
playbook_ui-10.21.0.pre.alpha.na1 app/pb_kits/playbook/pb_message/docs/_message_timestamp.jsx
playbook_ui-10.21.0.pre.alpha.jd1 app/pb_kits/playbook/pb_message/docs/_message_timestamp.jsx
playbook_ui-10.20.0 app/pb_kits/playbook/pb_message/docs/_message_timestamp.jsx
playbook_ui-10.19.0 app/pb_kits/playbook/pb_message/docs/_message_timestamp.jsx
playbook_ui-10.19.0.pre.lightbox app/pb_kits/playbook/pb_message/docs/_message_timestamp.jsx
playbook_ui-10.18.2 app/pb_kits/playbook/pb_message/docs/_message_timestamp.jsx
playbook_ui-10.19.0.pre.popover.alpha1 app/pb_kits/playbook/pb_message/docs/_message_timestamp.jsx
playbook_ui-10.18.1 app/pb_kits/playbook/pb_message/docs/_message_timestamp.jsx
playbook_ui-10.18.0 app/pb_kits/playbook/pb_message/docs/_message_timestamp.jsx
playbook_ui-10.17.0 app/pb_kits/playbook/pb_message/docs/_message_timestamp.jsx
playbook_ui-10.16.0 app/pb_kits/playbook/pb_message/docs/_message_timestamp.jsx
playbook_ui-10.15.1 app/pb_kits/playbook/pb_message/docs/_message_timestamp.jsx
playbook_ui-10.15.1.pre.alpha.rubocop.deps app/pb_kits/playbook/pb_message/docs/_message_timestamp.jsx
playbook_ui-10.15.0 app/pb_kits/playbook/pb_message/docs/_message_timestamp.jsx
playbook_ui-10.14.1.pre.alpha2 app/pb_kits/playbook/pb_message/docs/_message_timestamp.jsx
playbook_ui-10.14.1.pre.alpha1 app/pb_kits/playbook/pb_message/docs/_message_timestamp.jsx
playbook_ui-10.14.0 app/pb_kits/playbook/pb_message/docs/_message_timestamp.jsx