tmf-leptos 0.1.1

Library to render TMF schema as forms
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! AccountRef 
//! 
//! 
use leptos::prelude::*;

use tmflib::tmf666::AccountRef;

#[component]
pub fn account_ref(item : AccountRef) -> impl IntoView {
    let href = item.href;
    let name = item.name;

    view!{
        <a href={href}>{name}</a>
    }
}