Skip to content

Commit

Permalink
fix(calendar): change to heroui
Browse files Browse the repository at this point in the history
  • Loading branch information
1amageek committed Feb 1, 2025
1 parent e7f8fc4 commit f1c7358
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions packages/components/calendar/src/calendar-cell-body.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import type {HTMLNextUIProps} from "@nextui-org/system";
import type {HTMLHeroUIProps} from "@heroui/system";

import React from "react";

import {useCalendarContext} from "./calendar-context";

interface Props extends HTMLNextUIProps<"div"> {
interface Props extends HTMLHeroUIProps<"div"> {
children: React.ReactNode;
}

Expand Down
4 changes: 2 additions & 2 deletions packages/components/calendar/src/calendar-cell-content.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import type {HTMLNextUIProps} from "@nextui-org/system";
import type {HTMLHeroUIProps} from "@heroui/system";

import {useCalendarContext} from "./calendar-context";

export interface CalendarCellContentProps extends HTMLNextUIProps<"div"> {
export interface CalendarCellContentProps extends HTMLHeroUIProps<"div"> {
children: React.ReactNode;
}

Expand Down
2 changes: 1 addition & 1 deletion packages/components/calendar/src/calendar-cell-context.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type {CalendarState, RangeCalendarState} from "@react-stately/calendar";
import type {CalendarDate} from "@internationalized/date";
import type {DOMAttributes} from "@react-types/shared";

import {createContext} from "@nextui-org/react-utils";
import {createContext} from "@heroui/react-utils";

export interface CalendarCellContextType {
// Core date and state
Expand Down

0 comments on commit f1c7358

Please sign in to comment.