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