🐛 Update to match to the dioxus_free_icons view_box and xmlns definition
This commit is contained in:
@@ -6,11 +6,11 @@ turf::style_sheet!("src/ui/components/spinner.scss");
|
||||
#[derive(Clone, PartialEq)]
|
||||
struct _Spinner;
|
||||
impl IconShape for _Spinner {
|
||||
fn view_box(&self) -> String {
|
||||
String::from("0 0 184 94")
|
||||
fn view_box(&self) -> &str {
|
||||
"0 0 184 94"
|
||||
}
|
||||
fn xmlns(&self) -> String {
|
||||
String::from("http://www.w3.org/2000/svg")
|
||||
fn xmlns(&self) -> &str {
|
||||
"http://www.w3.org/2000/svg"
|
||||
}
|
||||
fn child_elements(&self) -> Element {
|
||||
rsx! {
|
||||
|
Reference in New Issue
Block a user