How to use tc-ui-toolkit - 1 common examples

To help you get started, we’ve selected a few tc-ui-toolkit 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 unfoldingWord / translationCore / src / js / helpers / gatewayLanguageHelpers.js View on Github external
export function getAlignedTextFromBible(contextId, bible) {
  if (bible && contextId && contextId.reference &&
    bible[contextId.reference.chapter] && bible[contextId.reference.chapter][contextId.reference.verse] &&
    bible[contextId.reference.chapter][contextId.reference.verse].verseObjects) {
    const verseObjects = bible[contextId.reference.chapter][contextId.reference.verse].verseObjects;
    return getAlignedText(verseObjects, contextId.quote, contextId.occurrence);
  }
}

tc-ui-toolkit

React components used to develop tools for the desktop app translationCore

MIT
Latest version published 8 months ago

Package Health Score

50 / 100
Full package analysis

Popular tc-ui-toolkit functions