@lobehub/ui
Version:
Lobe UI is an open-source UI component library for building AIGC web apps
16 lines (15 loc) • 453 B
TypeScript
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';
size?: number;
visibility?: 'auto' | 'always' | 'never';
}