use leptos::*;

#[component]
pub fn Code(cx: Scope, children: Children) -> impl IntoView {
    view! {cx,
        <code class="bg-slate-700 p-1 px-2 mx-1 rounded-md inlinei break-word">{children(cx)}</code>
    }
}
