add overlayscrollbars-react package

This commit is contained in:
Rene Haas
2022-10-20 13:41:50 +02:00
parent 3f1d8bc8d3
commit 2b02daa3ac
22 changed files with 23241 additions and 216 deletions
@@ -0,0 +1,9 @@
import React from "react";
import { render, screen } from "@testing-library/react";
import { OverlayScrollbarsComponents } from "../src/overlayscrollbars-react";
test("renders learn react link", () => {
render(<OverlayScrollbarsComponents msg="hi" />);
const linkElement = screen.getByText(/learn react/i);
expect(linkElement).toBeInTheDocument();
});