Proyectos
Ver en GitHub react-scroll-shadow
zzarcon/react-scroll-shadow
Acerca de
Pure CSS shadow to indicate more content in scrollable area
Desarrollo web y de aplicacionesCrecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
Originalreact-scroll-shadow 
Pure CSS shadow to indicate more content in scrollable area
Demo 🍿
https://zzarcon.github.io/react-scroll-shadow
Install 🚀
$ yarn add react-scroll-shadow
Usage ⛏
Basic
import ScrollShadow from 'react-scroll-shadow';
<ScrollShadow>
Content
</ScrollShadow>
Custom
import ScrollShadow from 'react-scroll-shadow';
<ScrollShadow
bottomShadowColors={{
active: 'red',
inactive: 'white'
}}
topShadowColors={{
active: 'blue',
inactive: 'white'
}}
shadowSize={2}
>
Content
</ScrollShadow>
Api 📚
interface ShadowColors {
inactive: string;
active: string;
}
interface Props {
height?: string;
bottomShadowColors?: ShadowColors;
topShadowColors?: ShadowColors;
shadowSize?: number;
}
See example/ for full example.
Explorar proyectos relacionados
Cargando…