Comment on page

Custom components library

If standard library components are not enough there is available library with custom ones. It is growing continuously to fulfill various users needs.
$ yarn add @adminjs/custom-components
Usage is similar to using own components instead writing own component just import one from library.
import { ComponentLoader } from 'adminjs'
import bundle from '@adminjs/custom-components'
const componentLoader = new ComponentLoader()
const Components = {
// other custom components
// 'CustomComponent' is the component name from library
CustomComponent: bundle(componentLoader, 'CustomComponent'),
export { componentLoader, Components }