@portal-dx/plugin-mm-components
v0.1.0
Published
> Check the documentation in pt-BR by clicking [here](./docs/README_pt-BR.md).
Downloads
1
Readme
mm-components
Check the documentation in pt-BR by clicking here.
Plugin that allows you to customize the layout of the default pages, as well as the customized ones in Spotify's Backstage.
This plugin was created through the Backstage CLI
Requirements
- Backstage Project;
- Node.js v16.14.x
What can you do?
Restructure the entire layout of the pages, so that those that have SideBar are not harmed.
Install
yarn add @portal-dx/plugin-mm-components
or
npm i @portal-dx/plugin-mm-components
Use
In your pages custom:
+ import { WorkspaceLayout } from '@portal-dx/plugin-mm-components'
[...]
+ return (
+ <WorkspaceLayout
+ title="Example Title"
+ subtitle="Example Subtitle."
+ themeId="home"
+ hasSidebar={boolean}
+ >
[...]
+ </WorkspaceLayout>
+ );
Developed with ❤️ by the MadeiraMadeira DX Team