rmc-picker

  • Version 5.0.10
  • Published
  • 154 kB
  • 4 dependencies
  • MIT license

Install

npm i rmc-picker
yarn add rmc-picker
pnpm add rmc-picker

Overview

React Mobile Picker Component(web and react-native)

Index

Variables

Variables

variable _default

const _default: {
new (props?: IPickerProps, context?: any): {
select: (value: any, itemHeight: any, scrollTo: any) => void;
selectByIndex(index: any, itemHeight: any, zscrollTo: any): void;
computeChildIndex(top: any, itemHeight: any, childrenLength: any): number;
doScrollingComplete: (
top: any,
itemHeight: any,
fireValueChange: any
) => void;
render(): JSX.Element;
setState<K extends string | number | symbol>(
state: any,
callback?: () => any
): void;
forceUpdate(callBack?: () => any): void;
props: Readonly<{ children?: React.ReactNode }> & Readonly<IPickerProps>;
state: Readonly<any>;
context: any;
refs: { [key: string]: React.ReactInstance };
componentWillMount?(): void;
componentDidMount?(): void;
componentWillReceiveProps?(
nextProps: Readonly<IPickerProps>,
nextContext: any
): void;
shouldComponentUpdate?(
nextProps: Readonly<IPickerProps>,
nextState: Readonly<any>,
nextContext: any
): boolean;
componentWillUpdate?(
nextProps: Readonly<IPickerProps>,
nextState: Readonly<any>,
nextContext: any
): void;
componentDidUpdate?(
prevProps: Readonly<IPickerProps>,
prevState: Readonly<any>,
prevContext: any
): void;
componentWillUnmount?(): void;
};
Item: (_props: import('./PickerMixin').IItemProps) => any;
};

    Package Files (2)

    Dependencies (4)

    Dev Dependencies (14)

    Peer Dependencies (0)

    No peer dependencies.

    Badge

    To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

    You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/rmc-picker.

    • Markdown
      [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/rmc-picker)
    • HTML
      <a href="https://www.jsdocs.io/package/rmc-picker"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>