@lobehub/ui
Version:
Lobe UI is an open-source UI component library for building AIGC web apps
18 lines (17 loc) • 518 B
TypeScript
import type { Ref } from 'react';
import type { FlexboxProps } from 'react-layout-kit';
export interface ScrollShadowProps extends FlexboxProps {
hideScrollBar?: boolean;
isEnabled?: boolean;
offset?: number;
onVisibilityChange?: (visibility: {
bottom?: boolean;
left?: boolean;
right?: boolean;
top?: boolean;
}) => void;
orientation?: 'vertical' | 'horizontal';
ref?: Ref<HTMLDivElement>;
size?: number;
visibility?: 'auto' | 'always' | 'never';
}