mirror of
https://github.com/tenrok/OverlayScrollbars.git
synced 2026-05-25 18:24:08 +03:00
19 lines
530 B
TypeScript
19 lines
530 B
TypeScript
import { OverlayScrollbarsComponent } from 'overlayscrollbars-solid';
|
|
import styles from './App.module.css';
|
|
import type { Component } from 'solid-js';
|
|
import logo from './logo.svg';
|
|
|
|
const App: Component = () => {
|
|
return (
|
|
<OverlayScrollbarsComponent
|
|
style={{ width: '222px', height: '222px' }}
|
|
options={{ scrollbars: { theme: 'os-theme-light' } }}
|
|
defer
|
|
>
|
|
<img src={logo} class={styles.logo} alt="logo" width="333" height="333" />
|
|
</OverlayScrollbarsComponent>
|
|
);
|
|
};
|
|
|
|
export default App;
|