yew_components_library 0.1.0

A collection of yew components using the atomic component management system. Components are made in tailwindcss.
Documentation
use yew::{function_component, html, Html};

use crate::atoms::*;
use crate::molecules::*;
use crate::organisms::*;

mod props;
use props::Props;

#[function_component]
pub fn Page(props: &Props) -> Html {
    html! {
        <div class="min-h-screen bg-gradient-to-r from-background-light to-secondary-light/5 dark:from-background-dark dark:to-secondary-dark/5">
            <Header />
            {for props.children.iter()}
            <Footer />
        </div>

    }
}