Skip to content

nmichkarev/react-interval-selector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-interval-selector

React UI component for selecting elements of set.

DEMO image

Install

npm install react-interval-selector

Usage

import ReactIntervalSelector from 'react-interval-selector';

...
    <ReactIntervalSelector />
...

Properties

  • initializer(from, to, interval) Use this property to define a function that will create an array of elements. By default component will create a set of time intervals from '00:00' to '23:30'

  • fromInterval

  • toInterval

  • interval Theese values will be passed to initializer

  • onChangeSelection Set a handler to detect changes. The array of current values for every element will be passed to function ([true, false, true ...]).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published