المشاريع
عرض على GitHub react-scroll-shadow
zzarcon/react-scroll-shadow
حول
Pure CSS shadow to indicate more content in scrollable area
تطوير الويب والتطبيقاتالنمو المقاس للنجوم
- خلال 24 ساعة
- ٠
- خلال 7 أيام
- ٠
- خلال 15 يومًا
- ٠
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصلreact-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.
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…