@amabeth/repeating-wheel-picker
    Preparing search index...

    @amabeth/repeating-wheel-picker

    Readme

    A React Native wheel picker that allows endless scrolling through repeating content. Supports custom types for picker data.

    npm install @amabeth/repeating-wheel-picker
    
    import RepeatingWheelPicker, {
    type RepeatingWheelPickerProps,
    } from "@amabeth/repeating-wheel-picker";

    // ...
    const [, setSelected] = useState<string>();

    return (
    <RepeatingWheelPicker<string>
    setSelected={setSelected}
    initialIndex={0}
    data={["first", "second", "third"]}
    />
    );

    Contributions are currently not intended.

    MIT