Adjust internal core-components import/exports for PageWithHeader
Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user