mirror of
https://github.com/tenrok/OverlayScrollbars.git
synced 2026-06-12 18:52:27 +03:00
improve website with defer
This commit is contained in:
@@ -3,6 +3,7 @@ import type { ComponentProps } from 'react';
|
||||
|
||||
export const Pre = ({ children }: ComponentProps<'pre'>) => (
|
||||
<OverlayScrollbarsComponent
|
||||
defer
|
||||
element="pre"
|
||||
options={{
|
||||
paddingAbsolute: true,
|
||||
|
||||
@@ -45,7 +45,7 @@ const IndexPage: NextPage = () => {
|
||||
overlay scrollbars and keeps the native functionality and feeling.
|
||||
</p>
|
||||
{separator('used by')}
|
||||
<OverlayScrollbarsComponent>
|
||||
<OverlayScrollbarsComponent defer>
|
||||
<div className="flex justify-center">
|
||||
<div className={classnames('inline-flex items-center gap-6 py-6', styles.usedBy)}>
|
||||
<div
|
||||
|
||||
Reference in New Issue
Block a user