Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

218
Vistas
try to build dial number by React

Hi I'm trying to build a component.

This is not a react-native. I'm want to use react and scroll a number like a picture

ios picker

It should roll the number.

I was trying to find an example but there was an only react-native example. (link : How do I make an iOS UIPicker in react native with multiple columns and titles?)

Is there React example????

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

You can possibly use react-mobile-datepicker package.

Here's a working example at Codesanbox.

import React from "react";
import DatePicker from "react-mobile-datepicker";

class App extends React.Component {
  state = {
    time: new Date(),
    isOpen: false
  };

  handleClick = () => {
    this.setState({ isOpen: true });
  };

  handleCancel = () => {
    this.setState({ isOpen: false });
  };

  handleSelect = (time) => {
    this.setState({ time, isOpen: false });
  };

  render() {
    return (
      <div className="App">
        <a className="select-btn" onClick={this.handleClick}>
          select time
        </a>

        <DatePicker
          value={this.state.time}
          isOpen={this.state.isOpen}
          onSelect={this.handleSelect}
          onCancel={this.handleCancel}
        />
      </div>
    );
  }
}

export default App;

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda