-
-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
14 additions
and
17 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> | ||
); | ||
}; |