use leptos::prelude::*;
use crate::common::related_party::RelatedParty;
use tmflib::common::related_party::RelatedParty;
pub mod account_ref;
pub mod related_party_ref;
#[component]
pub fn EngagedParty<'a>(item : &'a RelatedParty) -> impl IntoView {
view! {
<fieldset>
<legend>"Engaged Party"</legend>
<RelatedParty rp={item} />
</fieldset>
}
}