example.tsx
1import ScrollShadow from 'react-scroll-shadow';
2
3<ScrollShadow
4 bottomShadowColors={{
5 active: 'red',
6 inactive: 'white'
7 }}
8 topShadowColors={{
9 active: 'blue',
10 inactive: 'white'
11 }}
12 shadowSize={2}
13>
14 Content
15</ScrollShadow>