1
import * as React from 'react';
2 4
import { createHostComponent } from '@remax/shared';
3

4
export interface PickerProps {
5
  readonly dataset?: DOMStringMap;
6
  id?: string;
7
  name?: string;
8
  className?: string;
9
  range?: string[] | any[];
10
  rangeKey?: string;
11
  value?: number;
12
  disabled?: boolean;
13
  onChange?: (e: any) => void;
14
}
15 4
export const Picker: React.ComponentType<PickerProps> = createHostComponent<PickerProps>('picker');

Read our documentation on viewing source code .

Loading