File tree 3 files changed +8
-7
lines changed
3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 15
15
"next-themes" : " ^0.2.1" ,
16
16
"react" : " ^18.2.0" ,
17
17
"react-dom" : " 18.2.0" ,
18
- "tailwind-datepicker-react" : " ^1.2.1 "
18
+ "tailwind-datepicker-react" : " ^1.4.3 "
19
19
},
20
20
"devDependencies" : {
21
21
"@types/node" : " 18.8.0" ,
Original file line number Diff line number Diff line change @@ -2,17 +2,18 @@ import type { NextPage } from "next"
2
2
import { useState } from "react"
3
3
import DatePicker from "tailwind-datepicker-react"
4
4
import ThemeSelector from "../components/ThemeSelector"
5
+ import { IOptions } from "tailwind-datepicker-react/types/Options"
5
6
6
7
const Home : NextPage = ( ) => {
7
8
const [ show , setShow ] = useState < boolean > ( false )
8
- const options = {
9
+ const options : IOptions = {
9
10
autoHide : true ,
10
11
todayBtn : true ,
11
12
clearBtn : true ,
12
13
inputDateFormatProp : {
13
14
day : "2-digit" ,
14
15
month : "2-digit" ,
15
- year : "numeric"
16
+ year : "numeric" ,
16
17
} ,
17
18
theme : {
18
19
background : "" ,
Original file line number Diff line number Diff line change @@ -2043,10 +2043,10 @@ supports-preserve-symlinks-flag@^1.0.0:
2043
2043
resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09"
2044
2044
integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==
2045
2045
2046
- tailwind-datepicker-react@^1.2.1 :
2047
- version "1.3.0 "
2048
- resolved "https://registry.yarnpkg.com/tailwind-datepicker-react/-/tailwind-datepicker-react-1.3.0. tgz#b73663880a181b0fbe85a872bda0490b60464f6b "
2049
- integrity sha512-5zYoTljWW19Z7uqBYuAboToWdFMhxE4ploQp1I2DBWgJVwH1ximWTvzuNzckdE72fNRF/+dlQEFEYBUOjO/xqQ ==
2046
+ tailwind-datepicker-react@^1.4.3 :
2047
+ version "1.4.3 "
2048
+ resolved "https://registry.yarnpkg.com/tailwind-datepicker-react/-/tailwind-datepicker-react-1.4.3. tgz#137e8d0a3a0d48a38ce666df6d2365acf37bbb00 "
2049
+ integrity sha512-K/mX7GjsO8fvaN1/jZcEbCMb14VdBe0HGxBy36WK4zxfYOPB2tGMSAUo06so+BmsaVPU4dwmfDElK/6Uxaashw ==
2050
2050
dependencies :
2051
2051
tailwind-merge "^1.6.1"
2052
2052
You can’t perform that action at this time.
0 commit comments