use seed::{prelude::*, *};

use super::{solid_trait_private::SolidPrivate, Solid};

pub struct UserCircle;

impl SolidPrivate for UserCircle {
    fn base<T>(classes: impl ToClasses) -> Node<T> {
        svg![
            C![classes],
            attrs!(
            At::from("fill") => "currentColor",
            At::from("viewBox") => "0 0 20 20",
            ),
            path![attrs!(
            At::from("clip-rule") => "evenodd",
            At::from("d") => "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-6-3a2 2 0 11-4 0 2 2 0 014 0zm-2 4a5 5 0 00-4.546 2.916A5.986 5.986 0 0010 16a5.986 5.986 0 004.546-2.084A5 5 0 0010 11z",
            At::from("fill-rule") => "evenodd",
            ),],
        ]
    }
}

impl Solid for UserCircle {}
