Skip to content

Commit

Permalink
fix website snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
veej committed Sep 25, 2023
1 parent cca563a commit 4429ef3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/website/src/snippets/Components/DateField.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import * as React from "react";
import { DateField, CalendarDate } from "..";
import { DateField } from "..";

export default function DateFieldExample() {
const [value, setValue] = React.useState<CalendarDate | null>(new CalendarDate(1987, 8, 31));
const [value, setValue] = React.useState<Date | null>(new Date(1987, 8, 31));
return (
<DateField
type="single"
Expand Down

0 comments on commit 4429ef3

Please sign in to comment.