mediasfu-reactnative-expo
Version:
mediasfu-reactnative-expo – Expo-managed React Native WebRTC SDK for video conferencing, webinars, live streaming, broadcast, screen sharing, whiteboard, chat, recording, live subtitles, translation, and AI agent rooms on iOS, Android, and web. Prebuilt r
23 lines • 891 B
JavaScript
import React from 'react';
import Pagination from '../../components/displayComponents/Pagination';
import { getModernColors, resolveIsDarkMode } from '../core/modernTheme';
export const ModernPagination = (props) => {
const colors = getModernColors(resolveIsDarkMode(props));
return (<Pagination {...props} backgroundColor={props.backgroundColor ?? 'transparent'} activePageStyle={[
{
backgroundColor: colors.accent,
borderRadius: 999,
},
props.activePageStyle,
]} inactivePageStyle={[
{
backgroundColor: colors.surface,
borderRadius: 999,
borderWidth: 1,
borderColor: colors.border,
},
props.inactivePageStyle,
]}/>);
};
export default ModernPagination;
//# sourceMappingURL=ModernPagination.js.map