Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rommguy committed Mar 2, 2024
1 parent 25ba8cc commit 083b93b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 17 deletions.
Binary file added giraffe-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
31 changes: 14 additions & 17 deletions src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,25 +1,22 @@
import "./App.css";
import { DemoComp } from "./example/demoComp.tsx";
import { CustomScroll } from "./customScroll.tsx";

export const App = () => {
return (
<CustomScroll>
<div data-testid="app-root" className="app-root">
<div className="demo-title">React-Custom-Scroll Demo page</div>
<div className="demo-subtitle">
react-custom-scroll lets you design unique scrollbars without
compromising on performance. It preserves the browser's native
scrolling mechanism, ensuring a smooth, familiar user experience. Its
hover design means no content is obscured, offering a consistent look
across browsers and operating systems.
</div>
<DemoComp demoType="compare-with-native" descriptionSide="left" />
<DemoComp demoType="crazy-designer" descriptionSide="right" />
<DemoComp demoType="dynamic-content" descriptionSide="left" />
<DemoComp demoType="allow-outer-scroll" descriptionSide="right" />
<DemoComp demoType="flex" descriptionSide="left" />
<div data-testid="app-root" className="app-root">
<div className="demo-title">React-Custom-Scroll Demo page</div>
<div className="demo-subtitle">
react-custom-scroll lets you design unique scrollbars without
compromising on performance. It preserves the browser's native scrolling
mechanism, ensuring a smooth, familiar user experience. Its hover design
means no content is obscured, offering a consistent look across browsers
and operating systems.
</div>
</CustomScroll>
<DemoComp demoType="compare-with-native" descriptionSide="left" />
<DemoComp demoType="crazy-designer" descriptionSide="right" />
<DemoComp demoType="dynamic-content" descriptionSide="left" />
<DemoComp demoType="allow-outer-scroll" descriptionSide="right" />
<DemoComp demoType="flex" descriptionSide="left" />
</div>
);
};

0 comments on commit 083b93b

Please sign in to comment.