🚧 Make Button usable outside of the button.rs file

This commit is contained in:
2024-04-26 19:23:34 +02:00
parent dfe2761a3a
commit 3afed02aa8
2 changed files with 10 additions and 4 deletions

View File

@@ -77,7 +77,7 @@ pub struct ButtonProps {
children: Element,
}
fn Button(props: ButtonProps) -> Element {
pub fn Button(props: ButtonProps) -> Element {
rsx! {
style { {STYLE_SHEET} },