Files
upstream-jitsi-meet/react/features/base/ui/components/JitsiThemeProvider.native.tsx
upstream-mirror 1d2bfcac0c
Some checks failed
Prosody Plugin Tests / test (push) Failing after 10m11s
Close stale issues and PRs / stale (push) Failing after 1s
snapshot of https://github.com/jitsi/jitsi-meet.git @ fd1749dd28f4138aa80234fc7f311b19aaffa0e7 (2026-09-15)
2026-09-15 15:56:32 +05:00

23 lines
537 B
TypeScript

import * as React from 'react';
import { Provider as PaperProvider } from 'react-native-paper';
import BaseTheme from './BaseTheme.native';
interface IProps {
/**
* The children of the component.
*/
children: React.ReactNode;
}
/**
* The theme provider for the mobile app.
*
* @param {Object} props - The props of the component.
* @returns {React.ReactNode}
*/
export default function JitsiThemePaperProvider(props: IProps) {
return <PaperProvider theme = { BaseTheme }>{ props.children }</PaperProvider>;
}