How to use the @times-components/article-byline.hasBylineData function in @times-components/article-byline

To help you get started, we’ve selected a few @times-components/article-byline examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github newsuk / times-components / packages / article-magazine-comment / src / article-meta / article-meta.web.js View on Github external
const ArticleMeta = ({ bylines, publicationName, publishedTime }) => (
  
    {hasBylineData(bylines) && (
      
        
          
        
        
      
    )}
    
      
        
      
    
  
);
github newsuk / times-components / packages / article-magazine-standard / src / article-meta / article-meta.js View on Github external
const ArticleMeta = ({
  bylines,
  isTablet,
  onAuthorPress,
  publicationName,
  publishedTime
}) => (
github newsuk / times-components / packages / article-in-depth / src / article-meta / article-meta.js View on Github external
const ArticleMeta = ({
  bylines,
  isTablet,
  onAuthorPress,
  publicationName,
  publishedTime
}) => (
github newsuk / times-components / packages / article-main-standard / src / article-meta / article-meta.js View on Github external
function ArticleMeta({
  isTablet,
  bylines,
  publicationName,
  publishedTime,
  onAuthorPress
}) {
  return (
github newsuk / times-components / packages / article-magazine-comment / src / article-meta / article-meta.js View on Github external
const ArticleMeta = ({
  bylines,
  isTablet,
  hasElementsAbove,
  onAuthorPress,
  publicationName,
  publishedTime
}) => (
github newsuk / times-components / packages / article-main-standard / src / article-meta / article-meta.web.js View on Github external
function ArticleMeta({
  bylines,
  publicationName,
  publishedTime,
  onAuthorPress,
  inline = false,
  className = ""
}) {
  const bylineRow = hasBylineData(bylines) ? (
    
      
    
  ) : null;

  const publicationRow = (
    
      
    
  );

  const KeylineComponent = inline ? ArticleKeylineItem : KeylineItem;
github newsuk / times-components / packages / article-main-standard / src / article-meta / article-meta.js View on Github external
function ArticleMeta({
  isTablet,
  bylines,
  publicationName,
  publishedTime,
  onAuthorPress
}) {
  return (
github newsuk / times-components / packages / article-magazine-standard / src / article-meta / article-meta.web.js View on Github external
const ArticleMeta = ({ bylines, publicationName, publishedTime }) => (
  
    {hasBylineData(bylines) && (
      
        
          
            {({ theme: { sectionColour } }) => (
              
            )}
          
        
        
      
    )}

@times-components/article-byline

Article byline information

BSD-3-Clause
Latest version published 2 months ago

Package Health Score

87 / 100
Full package analysis

Popular @times-components/article-byline functions