Here is my Builder config:
import type { Input, Component } from '@builder.io/sdk';
export const BlogDetailInputs: Input[] = [
{
name: 'extraSideNavigation',
friendlyName: 'Additional Side menu',
helperText: 'Additional side menu items',
type: 'uiBlocks',
hideFromUI: true,
defaultValue: [
{
'@type': '@builder.io/sdk:Element',
component: {
name: 'Symbol',
options: {
symbol: {
model: 'symbol',
entry: '86e1e0ed28b546ff9e45b1ce619972bd',
},
},
},
},
],
},
{
name: 'crossPromotions',
type: 'uiBlocks',
hideFromUI: true,
defaultValue: [
{
'@type': '@builder.io/sdk:Element',
component: {
name: 'Symbol',
options: {
symbol: {
model: 'symbol',
entry: '3ef90249c11e415ab226e7cfbfddaa63',
},
},
},
},
,
],
},
];
export const BlogDetailComponent: Component = {
name: 'BlogDetail',
friendlyName: 'Blog Detail',
image:
'https://cdn.builder.io/api/v1/image/assets%2F1d8ecee591ac4358befb8fe998100548%2Fb774601b3c5d4363a7239465e26b5db4',
inputs: BlogDetailInputs,
canHaveChildren: true,
models: ['blog-detail'],
childRequirements: {
message: 'You can only put components under "Basics" inside a Blog Detail',
query: {
'component.name': {
$in: [
'Bullets',
'dsButton',
'Form',
'FormButton',
'DS Heading',
'dsImage',
'Paragraph',
'Text',
'Video',
'videoButton',
'videButton',
'VideoEmbed',
],
},
},
},
};