macro_rules! ui_component {
(
id: $id:expr,
name: $name:expr,
component_type: $comp_type:expr,
$(permissions: [$($permission:expr),*],)?
render: $render_fn:expr
) => { ... };
}
Expand description
Create a UI component for a plugin with validation