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.26.0.pre.rc1 app/pb_kits/playbook/pb_message/docs/_message_timestamp.jsx
playbook_ui-10.26.0.pre.alpha.sticky1 app/pb_kits/playbook/pb_message/docs/_message_timestamp.jsx
playbook_ui-10.26.0.pre.alpha.display1 app/pb_kits/playbook/pb_message/docs/_message_timestamp.jsx
playbook_ui-10.26.0.pre.alpha3 app/pb_kits/playbook/pb_message/docs/_message_timestamp.jsx
playbook_ui-10.25.1 app/pb_kits/playbook/pb_message/docs/_message_timestamp.jsx
playbook_ui-10.26.0.pre.alpha1 app/pb_kits/playbook/pb_message/docs/_message_timestamp.jsx
playbook_ui-10.25.0 app/pb_kits/playbook/pb_message/docs/_message_timestamp.jsx
playbook_ui-10.25.0.pre.alpha3 app/pb_kits/playbook/pb_message/docs/_message_timestamp.jsx
playbook_ui-10.25.0.pre.treeshaking1 app/pb_kits/playbook/pb_message/docs/_message_timestamp.jsx
playbook_ui-10.24.0 app/pb_kits/playbook/pb_message/docs/_message_timestamp.jsx
playbook_ui-10.24.0.pre.alpha1 app/pb_kits/playbook/pb_message/docs/_message_timestamp.jsx
playbook_ui-10.23.0 app/pb_kits/playbook/pb_message/docs/_message_timestamp.jsx
playbook_ui-10.23.0.pre.alpha2 app/pb_kits/playbook/pb_message/docs/_message_timestamp.jsx
playbook_ui-10.23.0.pre.cachetest app/pb_kits/playbook/pb_message/docs/_message_timestamp.jsx
playbook_ui-10.23.0.pre.alpha1 app/pb_kits/playbook/pb_message/docs/_message_timestamp.jsx
playbook_ui-10.22.1 app/pb_kits/playbook/pb_message/docs/_message_timestamp.jsx
playbook_ui-10.22.0 app/pb_kits/playbook/pb_message/docs/_message_timestamp.jsx
playbook_ui-10.21.1.pre.alpha1 app/pb_kits/playbook/pb_message/docs/_message_timestamp.jsx
playbook_ui-10.21.0.pre.alpha.lightbox.2 app/pb_kits/playbook/pb_message/docs/_message_timestamp.jsx
playbook_ui-10.21.0 app/pb_kits/playbook/pb_message/docs/_message_timestamp.jsx