Skip to content

Commit 2f522bf

Browse files
committed
docs(DateSingleInput): update example
affects: @datepicker-react/styled
1 parent 3e9bf8d commit 2f522bf

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ the `showDatepicker` and `onFocusChange` props as shown below.
188188
Here 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'
192192
import {DateSingleInput} from '@datepicker-react/styled'
193193

194194
const initialState = {

packages/styled/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ the `showDatepicker` and `onFocusChange` props as shown below.
188188
Here 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'
192192
import {DateSingleInput} from '@datepicker-react/styled'
193193

194194
const initialState = {

0 commit comments

Comments
 (0)