jiti-meet/react/features/base/ui/components/GlobalStyles.web.tsx

23 lines
507 B
TypeScript
Raw Normal View History

2022-09-13 07:36:00 +00:00
import React from 'react';
import { GlobalStyles as MUIGlobalStyles } from 'tss-react';
import { useStyles } from 'tss-react/mui';
import { commonStyles, getGlobalStyles } from '../constants';
/**
* A component generating all the global styles.
*
* @returns {void}
*/
function GlobalStyles() {
const { theme } = useStyles();
return (<MUIGlobalStyles
styles = {{
...commonStyles(theme),
...getGlobalStyles(theme)
}} />);
}
export default GlobalStyles;