All files / packages/design-system/ui/components/page-headers/base deprecated.jsx

100% Statements 2/2
100% Branches 0/0
100% Functions 1/1
100% Lines 2/2

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31            1x 1x                                              
// Copyright (c) 2015-present, salesforce.com, inc. All rights reserved
// Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license
 
import React from 'react';
import { StandardIcon } from '../../icons/standard/example';
 
export const PageHeaderDeprecated = () => (
  <div className="slds-page-header">
    <div className="slds-media">
      <div className="slds-media__figure">
        <StandardIcon
          className="slds-page-header__icon"
          symbol="opportunity"
          assistiveText={false}
        />
      </div>
      <div className="slds-media__body">
        <h1
          className="slds-page-header__title slds-truncate slds-align-middle"
          title="Rohde Corp - 80,000 Widgets"
        >
          Rohde Corp - 80,000 Widgets
        </h1>
        <p className="slds-text-body_small slds-line-height_reset">
          Mark Jaeckal &bull; Unlimited Customer &bull; 11/13/15
        </p>
      </div>
    </div>
  </div>
);