diff --git a/frontend/packages/cli/templates/default-plugin/src/components/ExampleComponent/ExampleComponent.tsx.hbs b/frontend/packages/cli/templates/default-plugin/src/components/ExampleComponent/ExampleComponent.tsx.hbs index e152bcd28d..f5a45ae6e4 100644 --- a/frontend/packages/cli/templates/default-plugin/src/components/ExampleComponent/ExampleComponent.tsx.hbs +++ b/frontend/packages/cli/templates/default-plugin/src/components/ExampleComponent/ExampleComponent.tsx.hbs @@ -1,8 +1,40 @@ import React, { FC } from 'react'; -import Typography from '@material-ui/core/Typography'; +import { Typography, makeStyles, Theme } from '@material-ui/core'; + +import { InfoCard, Header, Page, theme } from '@spotify-backstage/core'; + +const useStyles = makeStyles(theme => ({ + mainContentArea: { + overflowX: 'hidden', + overflowY: 'auto', + }, + pageBody: { + padding: theme.spacing(3), + }, +})); const ExampleComponent: FC<{}> = () => { - return Welcome to {{ id }}!; + const classes = useStyles(); + return ( + +
+
+
+ + Plugin page title + + + + All content should be wrapped in a card like this. + + +
+
+
+ ); }; export default ExampleComponent;