Pure CSS shadow to indicate more content in scrollable area
npm install react-scroll-shadow
https://zzarcon.github.io/react-scroll-shadow
```
$ yarn add react-scroll-shadow
Basic
`tsx
import ScrollShadow from 'react-scroll-shadow';
Content
`
Custom
`tsx
import ScrollShadow from 'react-scroll-shadow';
active: 'red',
inactive: 'white'
}}
topShadowColors={{
active: 'blue',
inactive: 'white'
}}
shadowSize={2}
>
Content
`
`ts
interface ShadowColors {
inactive: string;
active: string;
}
interface Props {
height?: string;
bottomShadowColors?: ShadowColors;
topShadowColors?: ShadowColors;
shadowSize?: number;
}
``
See example/ for full example.