您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

JitsiThemeProvider.native.tsx 537B

12345678910111213141516171819202122
  1. import * as React from 'react';
  2. import { Provider as PaperProvider } from 'react-native-paper';
  3. import BaseTheme from './BaseTheme.native';
  4. interface IProps {
  5. /**
  6. * The children of the component.
  7. */
  8. children: React.ReactNode;
  9. }
  10. /**
  11. * The theme provider for the mobile app.
  12. *
  13. * @param {Object} props - The props of the component.
  14. * @returns {React.ReactNode}
  15. */
  16. export default function JitsiThemePaperProvider(props: IProps) {
  17. return <PaperProvider theme = { BaseTheme }>{ props.children }</PaperProvider>;
  18. }