adminjs icon indicating copy to clipboard operation
adminjs copied to clipboard

Wrapping around React App component

Open omerabbas01 opened this issue 1 year ago • 2 comments

Hello,

Can we customise main App component or wrap it with some custom components? I am trying to integrate Web3 connectivity libraries and not sure where to start with. React libraries similar to usedapp ask you to wrap react App component with their provided component for library to work, Please help

omerabbas01 avatar Jul 18 '22 10:07 omerabbas01

Hey,

Here is the tutorial on how to write your own components: https://docs.adminjs.co/tutorial-writing-react-components.html

Is this something you were looking for?

krzysztofstudniarek avatar Jul 18 '22 10:07 krzysztofstudniarek

@omerabbas01 We've never had to do it, you could try to create your own function imitating: https://github.com/SoftwareBrothers/adminjs/blob/master/src/frontend/layout-template.tsx and serve it manually, although it's just a guess. AdminJS v7 should allow you to customize your frontend however you like but it will most likely take another several months of work before it's ready.

dziraf avatar Jul 20 '22 11:07 dziraf

Closing because no response from original poster

dziraf avatar Aug 31 '22 07:08 dziraf