dxc 1.0.0

A concise, modern dioxus component library
Documentation
use dioxus::prelude::*;
use dxc_macros::{props, PropsDefault};

// type StateUpdater = Box<dyn Fn(bool)>;

props! {
    TooltipRootProps {
        delay_duration: i32,

        default_open: bool,

        open: bool,

        on_open_change: EventHandler<bool>,

        on_update_open: EventHandler<bool>,

        #[props_default(skip)]
        children: Element,
    },
    derive(PropsDefault)
}