Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

JitsiThemeProvider.web.js 528B

123456789101112131415161718192021222324
  1. // @flow
  2. import { ThemeProvider } from '@material-ui/core/styles';
  3. import * as React from 'react';
  4. import BaseTheme from './BaseTheme';
  5. type Props = {
  6. /**
  7. * The children of the component.
  8. */
  9. children: React.ChildrenArray<any>
  10. }
  11. /**
  12. * The theme provider for the web app.
  13. *
  14. * @param {Object} props - The props of the component.
  15. * @returns {React.ReactNode}
  16. */
  17. export default function JitsiThemeProvider(props: Props) {
  18. return <ThemeProvider theme = { BaseTheme }>{ props.children }</ThemeProvider>;
  19. }