biotech-dev-components
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

BioTech.dev is a JavaScript UI library built for the BioTech sector.

Usage

⚙️ Components

All documentation can be found at https://www.biotech.dev/documentation

📦 Install

npm install biotech-dev-components
yarn add biotech-dev-components

🏗️ Example

import { ImageViewer } from 'biotech-dev-components';

const App = () => (
  <ImageViewer
    images={[{ url: image1, alt: 'Cell 1', caption: 'Cell 1' }]}
    magnifierEnabled
    toolbarConfiguration={{
      getToolbarContent(imageIndex: number) {
        return (
          <Space direction="vertical" style={{ width: '100%' }}>
            <Row style={{ fontWeight: 'bold' }}>ImageIndex: {imageIndex}</Row>
            <Row align="middle" justify="space-between" gutter={10}>
              Pass QC
              <Switch />
            </Row>
          </Space>
        );
      },
    }}
  />
);

Development

biotech-dev-components is written in TypeScript with importable definitions. To start developing locally, clone the repo and run yarn storybook

Readme

Keywords

Package Sidebar

Install

npm i biotech-dev-components

Homepage

biotech.dev

Weekly Downloads

0

Version

1.0.2

License

SEE LICENSE IN <license.txt>

Unpacked Size

11.1 MB

Total Files

77

Last publish

Collaborators

  • joshbenhamou