What are you trying to accomplish
We want to be able to use friendlyName
to rename components so that we don’t have to rebuild all the existing content on production. There is an internal initiative to use consistent component naming across teams and this requires us to rename some components already existing on production.
Screenshots or video link
Code stack you are integrating Builder with
NextJS
Sample Code of what we’re trying to achieve
Builder.registerComponent(Img, {
name: Img,
friendlyName: 'Image', // <-- any solution for this
inputs: [
{
name: 'image',
type: 'file',
allowedFileTypes: ['jpg', 'png'],
required: true,
},
],
});