0.0.24 • Published 6 days ago

oncokb-frontend-commons v0.0.24

Weekly downloads
-
License
AGPL-3.0-or-later
Repository
github
Last release
6 days ago

oncokb-frontend-commons

NPM JavaScript Style Guide

Install

npm install --save oncokb-frontend-commons

Usage

OncoKB

import * as React from 'react'

import { OncoKB } from 'oncokb-frontend-commons';

class Example extends React.Component {

  render () {
    return (
      <OncoKB
            status={'pending'}
            mergeAnnotationIcons={true}
            isCancerGene={true}
            geneNotExist={false}
            hugoGeneSymbol={"BRCA2"}
      />
    );
  }
}

OncoKBSummaryTable

import * as React from 'react'

import { OncoKbSummaryTable } from 'oncokb-frontend-commons';

class Example extends React.Component {
  const tableData = [{
    count: 1,
    proteinChange: "C47W",
    clinicalImplication: ["Oncogenic"],
    biologicalEffect: "The BRCA1 C47G mutation is located in the RING domain of the protein. In a homology-directed recombination (HDR) assay, BRCA1 C47G was shown to result in non-functional homologous repair...",
    level: [
          {
            level: "Level 1"
            tumorTypes: ["Ovarian Cancer"];
          },
          {
            level: "Level 3B"
            tumorTypes: ["Breast Cancer"];
          }]
  }]

  render () {
    return (
      <OncoKbSummaryTable
          data={tableData}
      />
    );
  }
}

Contact

To report any issues, please email contact@oncokb.org

© cBioPortal

0.0.24

6 days ago

0.0.23

2 months ago

0.0.22

3 months ago

0.0.21

4 months ago

0.0.20

6 months ago

0.0.14

12 months ago

0.0.15

10 months ago

0.0.16

10 months ago

0.0.17

10 months ago

0.0.18

10 months ago

0.0.19

8 months ago

0.0.11

1 year ago

0.0.12

1 year ago

0.0.13

1 year ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.5

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago