Skip to content

Commit 7eee201

Browse files
committed
Update demo app to 1.4.3
1 parent 348f026 commit 7eee201

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

demo-app/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"next-themes": "^0.2.1",
1616
"react": "^18.2.0",
1717
"react-dom": "18.2.0",
18-
"tailwind-datepicker-react": "^1.2.1"
18+
"tailwind-datepicker-react": "^1.4.3"
1919
},
2020
"devDependencies": {
2121
"@types/node": "18.8.0",

demo-app/pages/index.tsx

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,18 @@ import type { NextPage } from "next"
22
import { useState } from "react"
33
import DatePicker from "tailwind-datepicker-react"
44
import ThemeSelector from "../components/ThemeSelector"
5+
import { IOptions } from "tailwind-datepicker-react/types/Options"
56

67
const Home: NextPage = () => {
78
const [show, setShow] = useState<boolean>(false)
8-
const options = {
9+
const options: IOptions = {
910
autoHide: true,
1011
todayBtn: true,
1112
clearBtn: true,
1213
inputDateFormatProp: {
1314
day: "2-digit",
1415
month: "2-digit",
15-
year: "numeric"
16+
year: "numeric",
1617
},
1718
theme: {
1819
background: "",

demo-app/yarn.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -2043,10 +2043,10 @@ supports-preserve-symlinks-flag@^1.0.0:
20432043
resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09"
20442044
integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==
20452045

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==
20502050
dependencies:
20512051
tailwind-merge "^1.6.1"
20522052

0 commit comments

Comments
 (0)