Initial CV lib commit
This commit is contained in:
9
src/summary.rs
Normal file
9
src/summary.rs
Normal file
@@ -0,0 +1,9 @@
|
||||
use leptos::{component, view, IntoView};
|
||||
|
||||
#[component]
|
||||
#[must_use]
|
||||
pub fn Summary(summary: &'static str) -> impl IntoView {
|
||||
view! {
|
||||
<div class="pt-3 font-sans text-justify text-black text-[11px] text-pretty">{summary}</div>
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user