New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

react-weekday-picker-thehellmaker

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-weekday-picker-thehellmaker

Customizable weekday picker component for React.js

latest
Source
npmnpm
Version
1.0.8
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

react-weekday-picker

build status npm version npm downloads

Customizable weekday picker component for React.js.

This module is based very heavily off of gpbl/react-day-picker (docs and examples).

  • select weekdays with CSS modifiers
  • easily change style and add content to weekday cells
  • ready for i18n, with moment.js or any other library

Usage

npm install react-weekday-picker --save
import React from "react";
import WeekdayPicker from "react-weekday-picker";

class MyComponent extends React.Component {

  render() {
    var modifiers = {
      'weekend': function(weekday) {
        return weekday == 0 || weekday == 6;
      }
    };
  
    return <WeekdayPicker modifiers={modifiers} />
  }
}

Keywords

react

FAQs

Package last updated on 26 May 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