remove Rc from the Component type alias
This commit is contained in:
1 parent
11555e4a51
commit
aa03a6316a
2 files changed
+1
-8
No files matched your search
@@ -70,7 +70,7 @@ pub(crate) mod innerlude {
|
||||
/// Example {}
|
||||
/// )
|
||||
/// ```
|
||||
pub type Component<P = ()> = std::rc::Rc<dyn Fn(P) -> Element>;
|
||||
pub type Component<P = ()> = fn(P) -> Element;
|
||||
}
|
||||
|
||||
pub use crate::innerlude::{
|
||||
|
||||
Reference in new issue
Block a user