Skip to content

Commit

Permalink
Update demo app to 1.4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
OMikkel committed Oct 13, 2023
1 parent 348f026 commit 7eee201
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion demo-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"next-themes": "^0.2.1",
"react": "^18.2.0",
"react-dom": "18.2.0",
"tailwind-datepicker-react": "^1.2.1"
"tailwind-datepicker-react": "^1.4.3"
},
"devDependencies": {
"@types/node": "18.8.0",
Expand Down
5 changes: 3 additions & 2 deletions demo-app/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,18 @@ import type { NextPage } from "next"
import { useState } from "react"
import DatePicker from "tailwind-datepicker-react"
import ThemeSelector from "../components/ThemeSelector"
import { IOptions } from "tailwind-datepicker-react/types/Options"

const Home: NextPage = () => {
const [show, setShow] = useState<boolean>(false)
const options = {
const options: IOptions = {
autoHide: true,
todayBtn: true,
clearBtn: true,
inputDateFormatProp: {
day: "2-digit",
month: "2-digit",
year: "numeric"
year: "numeric",
},
theme: {
background: "",
Expand Down
8 changes: 4 additions & 4 deletions demo-app/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2043,10 +2043,10 @@ supports-preserve-symlinks-flag@^1.0.0:
resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09"
integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==

tailwind-datepicker-react@^1.2.1:
version "1.3.0"
resolved "https://registry.yarnpkg.com/tailwind-datepicker-react/-/tailwind-datepicker-react-1.3.0.tgz#b73663880a181b0fbe85a872bda0490b60464f6b"
integrity sha512-5zYoTljWW19Z7uqBYuAboToWdFMhxE4ploQp1I2DBWgJVwH1ximWTvzuNzckdE72fNRF/+dlQEFEYBUOjO/xqQ==
tailwind-datepicker-react@^1.4.3:
version "1.4.3"
resolved "https://registry.yarnpkg.com/tailwind-datepicker-react/-/tailwind-datepicker-react-1.4.3.tgz#137e8d0a3a0d48a38ce666df6d2365acf37bbb00"
integrity sha512-K/mX7GjsO8fvaN1/jZcEbCMb14VdBe0HGxBy36WK4zxfYOPB2tGMSAUo06so+BmsaVPU4dwmfDElK/6Uxaashw==
dependencies:
tailwind-merge "^1.6.1"

Expand Down

0 comments on commit 7eee201

Please sign in to comment.