mailui.init({
tabs: {
element: {
enabled: true,
label: "Elements",
icon: () => <span>♥</span>,
position: 1,
},
columns: {
enabled: false
},
...
},
});
Property | Description | Type |
---|---|---|
enabled | - | boolean |
label | Label that users see in the side panel | string |
icon | Icon that users see in the side panel. The value can be string or ReactNode | string | ReactNode |
position | Optionally, you can specify the position you want the tab to appear on | number |