(props: BasePickerProps, _type: string, state: any = {})
| 81 | } |
| 82 | |
| 83 | constructor(props: BasePickerProps, _type: string, state: any = {}) { |
| 84 | require_condition(typeof _type === 'string') |
| 85 | super(props); |
| 86 | |
| 87 | this.type = _type// type need to be set first |
| 88 | this.state = Object.assign({}, state, { |
| 89 | pickerVisible: false, |
| 90 | }, this.propsToState(props)) |
| 91 | |
| 92 | this.clickOutsideId = 'clickOutsideId_' + idGen.next() |
| 93 | } |
| 94 | |
| 95 | // ---: start, abstract methods |
| 96 | // (state, props)=>ReactElement |
nothing calls this directly
no test coverage detected