-
-
Save yasudacloud/e46958deab4b74f5ab08baa6720d19e9 to your computer and use it in GitHub Desktop.
strapi editview right custom
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import type {StrapiApp} from '@strapi/strapi/admin'; | |
import {EditViewCustom} from "./components/EditViewCustom"; | |
export default { | |
bootstrap(app: StrapiApp) { | |
}, | |
register(app: StrapiApp) { | |
const contentManager = app.getPlugin('content-manager') | |
contentManager.injectComponent('editView', 'right-links', { | |
name: 'right-link-custom', | |
Component: (props) => <EditViewCustom {...props}/> | |
}) | |
}, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment