Adjust internal core-components import/exports for PageWithHeader

Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
This commit is contained in:
Philipp Hugenroth
2021-07-14 15:07:47 +02:00
parent 3172b8d2df
commit 063bd1a59a
2 changed files with 4 additions and 4 deletions
@@ -88,7 +88,7 @@ const useStyles = makeStyles<BackstageTheme>(theme => ({
type HeaderStyles = ReturnType<typeof useStyles>;
export type Props = {
type Props = {
component?: ReactNode;
pageTitleOverride?: string;
style?: CSSProperties;
@@ -16,10 +16,10 @@
import React from 'react';
import { Header, Page } from '../../';
import { Props as HeaderProps } from '../../layout/Header/Header';
import { Header } from '../Header';
import { Page } from './';
export interface IProps extends HeaderProps {
interface IProps extends React.ComponentProps<typeof Header> {
themeId: string;
}