Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

d2-ui-components

Package Overview
Dependencies
Maintainers
1
Versions
174
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

d2-ui-components

Components for DHIS2 apps

  • 0.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
20
increased by122.22%
Maintainers
1
Weekly downloads
 
Created
Source

Introduction

Setup

$ yarn install

Development

When developing your app, init the link in this repository:

$ yarn link

And then link it wherever you want to use the package:

$ cd /path/to/my/project/using-d2-ui-components
$ yarn link d2-ui-components

When you want to change code in the components, run this command to build the package on any change:

$ yarn build-dev

Run tests, linter and prettier:

$ yarn code-quality

Components

Date Picker

import { DatePicker } from "d2-ui-components";

const MyDatePicker = () =>
    <DatePicker
        label="Label of the TextInput component"
        value={new Date("2019/01/30")}
        onChange={newValue => console.log(newValue)}
    />

FAQs

Package last updated on 13 Feb 2019

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc