use dioxus::prelude::*;
use crate::IconShape;
#[derive(Default, Copy, Clone, PartialEq, Eq)]
pub struct PauseButton;
impl IconShape for PauseButton {
fn child_elements(&self) -> Element {
rsx!(path {
d: "M0 0h512v512H0z",
}
path {
d: "M120.16 45A20.162 20.162 0 0 0 100 65.16v381.68A20.162 20.162 0 0 0 120.16 467h65.68A20.162 20.162 0 0 0 206 446.84V65.16A20.162 20.162 0 0 0 185.84 45h-65.68zm206 0A20.162 20.162 0 0 0 306 65.16v381.68A20.162 20.162 0 0 0 326.16 467h65.68A20.162 20.162 0 0 0 412 446.84V65.16A20.162 20.162 0 0 0 391.84 45h-65.68z",
fill: "#fff",
})
}
const VIEW_BOX: Option<&'static str> = Some("0 0 512 512");
}
#[derive(Default, Copy, Clone, PartialEq, Eq)]
pub struct PlayButton;
impl IconShape for PlayButton {
fn child_elements(&self) -> Element {
rsx!(path {
d: "M0 0h512v512H0z",
}
path {
d: "M106.854 106.002a26.003 26.003 0 0 0-25.64 29.326c16 124 16 117.344 0 241.344a26.003 26.003 0 0 0 35.776 27.332l298-124a26.003 26.003 0 0 0 0-48.008l-298-124a26.003 26.003 0 0 0-10.136-1.994z",
fill: "#fff",
})
}
const VIEW_BOX: Option<&'static str> = Some("0 0 512 512");
}
#[derive(Default, Copy, Clone, PartialEq, Eq)]
pub struct SodaCan;
impl IconShape for SodaCan {
fn child_elements(&self) -> Element {
rsx!(path {
d: "M0 0h512v512H0z",
}
path {
d: "M171 42l-20 48h210l-20-48H171zm-19.45 65.55v296.9h208.9v-296.9h-208.9zM151 422l20 48h170l20-48H151z",
fill: "#fff",
})
}
const VIEW_BOX: Option<&'static str> = Some("0 0 512 512");
}