MCPcopy Create free account
hub / github.com/DioxusLabs/dioxus-components / DialogDescription

Function DialogDescription

primitives/src/dialog.rs:393–404  ·  view source on GitHub ↗
(props: DialogDescriptionProps)

Source from the content-addressed store, hash-verified

391/// ```
392#[component]
393pub fn DialogDescription(props: DialogDescriptionProps) -> Element {
394 let ctx: DialogCtx = use_context();
395 let id = use_id_or(ctx.dialog_describedby, props.id);
396
397 rsx! {
398 p {
399 id: id,
400 ..props.attributes,
401 {props.children}
402 }
403 }
404}

Callers

nothing calls this directly

Calls 1

use_id_orFunction · 0.85

Tested by

no test coverage detected