chore: OAS and TSDoc fixes (#7864)

This commit is contained in:
Shahed Nasser authored and GitHub committed 2024-07-01 10:21:34 +03:00
1 parent 1842cd33cf
commit 9ded63cc62
4 files changed
+9 -4

No files matched your search

@@ -359,7 +359,7 @@ const SingleDatePicker = React.forwardRef<HTMLButtonElement, SingleProps>(({
placeholder,
translations,
...props
}, ref) => {
}: SingleProps, ref) => {
const [open, setOpen] = React.useState(false)
const [date, setDate] = React.useState<Date | undefined>(
value ?? defaultValue ?? undefined
@@ -592,7 +592,7 @@ const RangeDatePicker = React.forwardRef<HTMLButtonElement, RangeProps>(({
placeholder,
translations,
...props
}, ref) => {
}: RangeProps, ref) => {
const [open, setOpen] = React.useState(false)
const [range, setRange] = React.useState<DateRange | undefined>(
value ?? defaultValue ?? undefined