File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ the `showDatepicker` and `onFocusChange` props as shown below.
188188Here is the minimum _REQUIRED_ setup you need to get the ` DateSingleInput ` working:
189189
190190` ` ` jsx
191- import React , {useState } from ' react'
191+ import React , {useReducer } from ' react'
192192import {DateSingleInput } from ' @datepicker-react/styled'
193193
194194const initialState = {
Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ the `showDatepicker` and `onFocusChange` props as shown below.
188188Here is the minimum _REQUIRED_ setup you need to get the ` DateSingleInput ` working:
189189
190190` ` ` jsx
191- import React , {useState } from ' react'
191+ import React , {useReducer } from ' react'
192192import {DateSingleInput } from ' @datepicker-react/styled'
193193
194194const initialState = {
You can’t perform that action at this time.
0 commit comments