ConstExample Usage
const ns = createNamespace({ name: 'com.my-company' });
const element = createElement(ns, {
name: 'My Custom Page',
description: 'Page that allows controlling Retro Encabulators',
traits: [traits.Page],
propsSchema: createPropsSchema().initial({}),
Component() {
return <div>My Page Content</div>;
},
});
Makes an element appear and behave as a HELIO Page.
Elements with this trait will: