
This PR further organizes and documents the component crate. It: - Simplifies the component registry - Gives access to `ComponentMetadata` sooner - Enables lookup by id in preview extension implementations (`ComponentId` -> `ComponentMetadata`) - Should slightly improve the performance of ComponentPreview It also brings component statuses to the Component trait:    Release Notes: - N/A
6 lines
216 B
Rust
6 lines
216 B
Rust
pub use component::{
|
|
Component, ComponentId, ComponentScope, ComponentStatus, example_group,
|
|
example_group_with_title, single_example,
|
|
};
|
|
pub use documented::Documented;
|
|
pub use ui_macros::RegisterComponent;
|