Add pub

Mikayla created

Change summary

crates/gpui/src/elements/component.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

crates/gpui/src/elements/component.rs 🔗

@@ -63,7 +63,7 @@ pub struct StylableComponentAdapter<C: Component<V>, V: View> {
 }
 
 impl<C: Component<V>, V: View> StylableComponentAdapter<C, V> {
-    fn new(component: C) -> Self {
+    pub fn new(component: C) -> Self {
         Self {
             component,
             phantom: std::marker::PhantomData,