🐛 Update to match to the dioxus_free_icons view_box and xmlns definition
This commit is contained in:
@@ -18,12 +18,12 @@ macro_rules! svg_text_icon {
|
||||
#[derive(Copy, Clone, PartialEq)]
|
||||
struct $name;
|
||||
impl IconShape for $name {
|
||||
fn view_box(&self) -> String {
|
||||
String::from("0 0 250 50")
|
||||
fn view_box(&self) -> &str {
|
||||
"0 0 250 50"
|
||||
}
|
||||
|
||||
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 {
|
||||
|
Reference in New Issue
Block a user