react-scroll-shadow
Version:
Pure CSS shadow to indicate more content in scrollable area
27 lines (26 loc) • 659 B
TypeScript
import { Component } from 'react';
export interface ShadowColors {
inactive: string;
active: string;
}
export interface ScrollShadowProps {
height?: string;
bottomShadowColors?: ShadowColors;
topShadowColors?: ShadowColors;
shadowSize?: number;
}
export declare class ScrollShadow extends Component<ScrollShadowProps> {
static defaultProps: {
shadowSize: number;
bottomShadowColors: {
inactive: string;
active: string;
};
topShadowColors: {
inactive: string;
active: string;
};
};
render(): JSX.Element;
}
export default ScrollShadow;