🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@arkhn/ui

Package Overview
Dependencies
Maintainers
4
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arkhn/ui

Open source typescript library for ReactJs UI components

1.11.2
latest
npm
Version published
Weekly downloads
1.3K
38.13%
Maintainers
4
Weekly downloads
 
Created
Source

Description

This library offers generic ReactJs components built with Typescript.

It has been designed for internal use and some of them may come with prop names corresponding to medical lexical fields.

Storybook

To launch the storybook, first clone the project and type this command from the root directory :

$ yarn storybook

or

$ npm storybook

Get Started

Installation

# With npm
$ npm install @arkhn/ui

# With yarn
$ yarn add @arkhn/ui

Usage Example

import { VirtualizedCarousel } from "@arkhn/ui";

const documents = [
  { source: "/images/doc1.jpg" },
  { source: "/images/doc2.jpg" },
  { source: "/images/doc3.jpg" },
  { source: "/images/doc4.jpg" },
];

<div
  style={{
    height: "300px",
    width: "300px",
  }}
>
  <VirtualizedCarousel documents={documents} />
</div>;

Components List

ComponentDescription
VirtualizedCarouselCarousel component virtualizing its rendering using "react-virtualized" library. It takes up to 20.000 documents as props.
SelectableTableComponent using "@material-ui/core" to display a table with dynamic header. It allows single row selection and also multiple row selection with checkbox support.
EditInputA component based on the "@material-ui/core" Input component. It comes with an input adornment allowing value changes whenever clicked on.

FAQs

Package last updated on 12 Apr 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts