pub fn register_shape(
ctx: &Context,
component: &str,
name: &str,
handler: Arc<dyn Primitive<ComponentKit>>,
)Expand description
Registers a handler for a component (one of COMPONENTS) under a
name its shape token can give. In use from the next theme install.