chore: save the current state

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2022-03-08 13:50:08 +01:00
parent 1850d45b8c
commit 2624e676dc
4 changed files with 21 additions and 11 deletions
@@ -28,9 +28,19 @@ describe('CardHeader', () => {
getPageTheme: jest.fn(lightTheme.getPageTheme),
};
const { container } = render(
render(
<ThemeProvider theme={mockTheme}>
<CardHeader title="Test" type="service" />
<CardHeader
template={{
apiVersion: 'scaffolder.backstage.io/v1beta3',
kind: 'Template',
metadata: { name: 'bob' },
spec: {
steps: [],
type: 'service',
},
}}
/>
</ThemeProvider>,
);
@@ -15,14 +15,8 @@
*/
import React from 'react';
import {
Link,
makeStyles,
Tooltip,
Typography,
useTheme,
} from '@material-ui/core';
import { ItemCardHeader, WarningIcon } from '@backstage/core-components';
import { makeStyles, useTheme } from '@material-ui/core';
import { ItemCardHeader } from '@backstage/core-components';
import { BackstageTheme } from '@backstage/theme';
import { TemplateEntityV1beta3 } from '@backstage/plugin-scaffolder-common';
import { FavoriteEntity } from '@backstage/plugin-catalog-react';
@@ -14,3 +14,4 @@
* limitations under the License.
*/
export { TemplateCard } from './TemplateCard';
export type { TemplateCardProps } from './TemplateCard';
@@ -13,4 +13,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export const TemplateWizardPage = () => {};
export interface TemplateWizardPageProps {
customFieldExtensions: any;
}
export const TemplateWizardPage = (props: TemplateWizardPageProps) => {
return null;
};