diff --git a/examples/Ethiopic.test.tsx b/examples/Ethiopic.test.tsx new file mode 100644 index 000000000..c9f3964d1 --- /dev/null +++ b/examples/Ethiopic.test.tsx @@ -0,0 +1,16 @@ +import React from "react"; + +import { render } from "@/test/render"; + +import { Ethiopic } from "./Ethiopic.jsx"; + +const today = new Date(2021, 10, 25); + +beforeAll(() => jest.setSystemTime(today)); +afterAll(() => jest.useRealTimers()); + +beforeEach(() => { + render(); +}); + +test.todo("should render the Ethiopic calendar"); diff --git a/examples/Ethiopic.tsx b/examples/Ethiopic.tsx new file mode 100644 index 000000000..0f3aef54f --- /dev/null +++ b/examples/Ethiopic.tsx @@ -0,0 +1,7 @@ +import React from "react"; + +import { DayPicker } from "react-day-picker/ethiopic"; + +export function Ethiopic() { + return ; +}