1.0.4 • Published 3 years ago

react-timepicker-mobile v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

react-timepicker-mobile

pick times with this component of react

Alt text

instalation

npm install react-timepicker-mobile

Configuration

  1. import the styles on your app
import "react-timepicker-mobile/styles.css";

Usage

  1. import the component TimePicker

  2. pass props value and setValue to component...! the color is optional! default is blue

import { useState } from "react";
import { TimePicker } from "react-timepicker-mobile";

export const HomeTemplate = () => {
  const [time, setTime] = useState("12:00AM");

  return (
    <div>
      <TimePicker value={time} handleChange={setTime} color="blue" />
    </div>
  );
};

Avalible Colors

  • blue (DEFAULT)
  • red
  • purple
  • indigo
  • teal
  • green
1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago