jitsi-meet/react/features/base/ui/components/JitsiThemeProvider.native.tsx
theluyuan 38ba663466
Some checks failed
Close stale issues and PRs / stale (push) Has been cancelled
init
2025-09-02 14:49:16 +08: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>;
}