31 lines
624 B
JavaScript
31 lines
624 B
JavaScript
import React from 'react';
|
|
import GlobalHead from '@dailyjs/shared/components/GlobalHead';
|
|
import GlobalStyle from '@dailyjs/shared/components/GlobalStyle';
|
|
import Head from 'next/head';
|
|
import PropTypes from 'prop-types';
|
|
|
|
function App({ Component, pageProps }) {
|
|
return (
|
|
<>
|
|
<Head>
|
|
<title>Daily - Basic Call Example</title>
|
|
</Head>
|
|
<GlobalHead />
|
|
<GlobalStyle />
|
|
<Component {...pageProps} />
|
|
</>
|
|
);
|
|
}
|
|
|
|
App.defaultProps = {
|
|
Component: null,
|
|
pageProps: {},
|
|
};
|
|
|
|
App.propTypes = {
|
|
Component: PropTypes.elementType,
|
|
pageProps: PropTypes.object,
|
|
};
|
|
|
|
export default App;
|