How to use the @bbc/react-transcript-editor/timecodeConverter.shortTimecode function in @bbc/react-transcript-editor

To help you get started, we’ve selected a few @bbc/react-transcript-editor 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 bbc / digital-paper-edit-client / src / Components / PaperEdit / Transcripts / Paragraphs / Paragraph.js View on Github external
// paragraphStyle.borderWidth = '0.01em';
        paragraphStyle.borderRight = '0.1em dashed lightgrey';
        paragraphStyle.borderLeft = '0.1em dashed lightgrey';
      }
    }

    return (
      
        
          <span tabindex="0" data-start="{">{this.props.speakerName}</span>
        
        {/* 
          <span tabindex="0" data-start="{" style="{"></span>
github bbc / digital-paper-edit-client / src / Components / Transcripts / TranscriptAnnotate / Paragraphs / generate-paragraphs / Paragraph.js View on Github external
&gt;
        
          <span tabindex="0">{this.props.speakerName}</span>
        
        
          <span tabindex="0" data-start="{" style="{">
            { shortTimecode(this.props.paragraph[0].start) }
          </span>
        
        
          {this.props.wordsElements}
        
      
    );
  }
}

@bbc/react-transcript-editor

A React component to make transcribing audio and video easier and faster.

MIT
Latest version published 3 years ago

Package Health Score

51 / 100
Full package analysis